This discussion is archived
1 Reply Latest reply: Feb 4, 2013 9:09 AM by Anuj Dwivedi RSS

B2B outbound Channel Configuration - EMail - Attachment Name and Extension

Venkatesh Ramasamy Newbie
Currently Being Moderated
Hello,

I have configured an outbound channel to send the payload (xml) as an attachment. When I leave the "Subject" field in the Channel configuration blank, the attachment file name looks like this,"HostPartnerName_TradingPartnerName_DocumentType" without the file extension. If I supply the "Subject" field with the value, the file name gets replaced with the subject and the file extension still is missing.

I would like to receive a file name in a format like "batch_b2b.messageId.xml". The property b2b.messageId gets the value from the Mediator. The composite that passes the information like the b2b properties has been made generic to handle different Trading Partners, so for a channel that uses SFTP, I have used the Filename format and supplied the value as "batch_%MSG_ID%.xml". Is there a way I can do the same for Email channel?

Thanks,
Venkatesh

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points