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.
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 |
---|---|
82 | |
29 | |
9 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.