$(function () { pageContext.i18n.modTalk = 'moderation talk'; pageContext.i18n.replyToComment = 'Reply'; pageContext.i18n.modTalkEmpty = 'moderation talk is empty'; pageContext.url.getModTalk = "/comments/%25ID%25/listModTalk.json"; pageContext.url.possibleCommentRecipients = "/comments/%ID%/possibleRecipients.json"; pageContext.url.commentEdit = '/comments/%25ID%25/edit.html'; pageContext.url.commentView = '/comments/%ID%/view.html'; pageContext.i18n.commentVisibility = { 'full': 'Viewable by all users', 'op': 'Viewable by the original poster', 'mod': 'Viewable by moderators', 'opAndMod': 'Viewable by moderators and the original poster', 'other': 'Advanced visibility', 'dialogTitle': 'Comment visibility', 'selectGroups': 'Visible to groups', 'selectOther': 'Other recipients', 'selectOriginalPoster': 'Original poster', 'selectModerators': 'Moderators', 'selectAssignees': 'Asked to answer users' }; pageContext.i18n.commentMenuLabels = { 'comment-edit': 'comments.menu.edit', 'comment-delete': 'comments.menu.delete', 'comment-convert': 'comments.menu.convert' };pageContext.i18n.answer= { bestAnswer: 'Best Answer', controlBar : { accept: 'Accept', unaccept: 'Unaccept', acceptCommand: 'Accept this answer as correct', cancelAcceptedCommand: 'Remove this answers accepted status' } }; window.croles = { u: false, op: false, m: false, og: false, as: false, ag: false, dc: false, doc: false, eo: false, ea: false }; tools.init({ q: { e: false, ew: false, eo: false, r: false, ro: false, d: false, dow: false, fv: false, c: false, co: false, p: false, tm: false , ms: false, mos: false }, n: { f: false, vf: false, vfo: false, vr: true, vro: true, c: false, co: false, vu: false, vd: false, w: false, wo: false, l: false }, c: { e: false, eo: false, d: false, dow: false, ta: false, tao: false, l: false }, a: { e: false, ew: false, eo: false, d: false, dow: false, a: false, aoq: false, ao: false, tc: false, tco: false, p: false, tm: false }, pc: croles }, { tc: true, nsc: true }); commandUtils.initializeLabels(); }); Skip to Content

How to take Back-up file from Adaptor level

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 15, 2013 at 10:44 AM

    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-locations-using-adapter-module

    Thanks

    Amit Srivastava

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2013 at 10:46 AM

    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-local-aae-not-possible-not-anymore

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2013 at 10:46 AM

    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

    Add comment
    10|10000 characters needed characters exceeded