Skip to Content
0
Former Member
May 04, 2011 at 08:25 AM

How to set JMS Header Property without using DynamicConfiguration.

203 Views

Hi,

My Scenario is: PDF File -->XI -->JMS

I need to send the PDF file as it is to JMS receiver, which shouldn't be a problem. The problem is I need to set the same file name in the Receiver JMS header property.

So to do this I am using DynamicConfiguration in message mapping but when File Adapter picks the PDF file (as it is) I get the run time mapping error which is quite obvious since message mapping expects the data in xml format.

Do you have any idea if I can avoid the message mapping and set the Dynamic Configuration somewhere else (not sure if java mapping can help here) or if there is some Module available to set file name in JMS header.

Note: PDF File name is dynamic.

Thanks!