We have a requirement to pick an XML file e.g. "test.xml", from sender directory, and to apply PGP encryption. Once the file encrypted using "localejbs/PGPEncryption" Module, encrypted file on receiver directory must be having extension as "test.xml.pgp"
I have tried to change the extension using Java Mapping, but it looks like that .pgp extension is applied by the system before applying encryption the using PGP Module.
Since you have to place the file in target folder and then encrypt and change filename. I think you can achive 2 ways,