cancel
Showing results for 
Search instead for 
Did you mean: 

Detaching a file from xml message and routing it to receiver

Former Member
0 Kudos

Hi everyone, Can someone plz help me out with how to detach an attachement from an xml message and route to the receiver?

Any links and materials to read more on this topic?

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

Use payload swap bean in the adapter. Or you can write an adapter module to get the attachment and include it in your own XML strucuture (if the attachment is not XML) then send it as payload.

VJ

Answers (2)

Answers (2)

ravi_raman2
Active Contributor
0 Kudos

custom adapter module is the way to go if its xml, else you can accomplish it with the payload swap bean,.

With your custom module you can also avoid BPM and just split it into 2 messages and route them accordingly.

Regards

Ravi Raman

Former Member
0 Kudos

Hi,

Please find the below link which can be helpful in your case.

http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario

varun