on 2022 Apr 06 7:57 PM
I am trying out the ASMA and variable conversion. It is a simple test case FTP - PI - file. I have read many blogs and threads and basically follow them as much as I can. I cannot figure out what is missing.
Here is the FTP sender config config:
Here is receiver file config:
The variable abc did not get the filename as expected from the sender CC. Not sure why. Also, I don't understand what "message:interface_name" really mean. In the module config screen, the FileName is saved into value "interface.name". So why in the variable substitution it becomes "message:interface_name"? Should it be "message:interface.name"?
Please advise.
Thanks Jonathan.
Request clarification before answering.
Thanks Sneha
But then why didn't variable abc changed to the filename? Right now abc still has the real value of inbound interface_name which is TS_IN instead of TestMessage2.xml?
Also, if I want to get the sourcefiletimestamp, what should be the value I pass? Let's say I want to write the sourcefiletimestamp into receiver_party, should I pass into value receiver.party? How do you associate interface_name = "interface.name"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonathan,
You need to change the Reference under Variable Substitution to message:interface_name. This will pass the sender file name to receiver.
You can specify the following attributes of the message header - sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace
Setting ASMA under Sender Adapter will set the below values in the messageHeader. And hence, you need to use message:interface_name for reading the Sender File name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.