cancel
Showing results for 
Search instead for 
Did you mean: 

How to take Back-up file from Adaptor level

former_member190536
Participant
0 Kudos

Hi,

We are doing PGP Decryption in Sender File adaptor using Module configuration, After Decryption from the Sender communication channel we are converting the file into XML using "localejbs/AF_Modules/MessageTransformBean" module.

Is there any way to take back-up of the file after Decrypting it before it convert into XML file?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Put this custom module after PGP  Decryption (haven't tested this module for sender adapter but i guess it should work):

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/07/17/send-file-to-two-different-locati...

Thanks

Amit Srivastava

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

one of the ways is shown in my blog - and you can put the logging module in any place of the module chain:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/04/28/pixi-target-message-logging-with-...

Regards,

Michal Krawczyk

anupam_ghosh2
Active Contributor
0 Kudos

Hi Khaja,

                   you can divide the scenario into two parts.

First one picks of the file from source directory (s) does pgp decryption and writes to target directory(T) and also to an archive directory (A). Second scenario picks up the file from (T) and converts it into XML and proceeds as requirement. Thus you get a back up of the decrypted file in directory (A).

There might be other ways to back up which I am not aware of, please wait for experts to respond.

Regards

Anupam