We have a pass through scenario where XML payload being sent from source will have filename as a XML tag value. The file has to be PGP Encrypted before placing in receiver SFTP server. We tried using PGP Encryption module and Variable Substitution functionality of SFTP Adapter to get filename from payload. As module gets executed first, file gets PGP Encrypted and the Variable Substitution step to get filename from payload fails.
Upon searching JNDI Registry, we came across the module VariableSubstitutionBean (bean.png) which looks promising but we were not able to find parameters for this anywhere. Kindly help us with module parameters.
Note: Preference is to use a standard module to get filename from payload without any mapping. Any suggestions for same will be much appreciated.