cancel
Showing results for 
Search instead for 
Did you mean: 

How to set message id for JMS

Former Member
0 Kudos

Hi All,

I set up the JMS connection with JBoss, and send the message asynchrously to JBoss successfully.

But right now, Jboss need to use the incoming message ID as correlation ID in Jboss.

How could i set the message id from payload (not PI message ID, not PI Conversation ID) for JMS receiver adapter?

thanks a lot

already check the following links:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc...

cannot find any about set JMS Message ID from payload

Edited by: Lawrence on Dec 24, 2009 2:21 PM

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Lawrence,

I am not sure how jboss will store message,But i had done similar requirement but my system is MQ,Standard JMS adapter not supports to chnage the value or set mesage id in MQ,we can change the PI Message ID Value but not JBOSS/MQ Message ID.

Writng module is the one option.

Regards,

Raj

Former Member
0 Kudos

Hi Raj

thank you very much for your replying

is it possible to change the JMSCorrelationID from payload for JMS?

and how to change PI Message ID, could you specify more detail?

thanks again

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Lawrence,

I am not sure it is possible to change from Payload of JMS,i changed MQMD.Message ID value in MQ series using Adapter module.

Try with Dynamic configuration UDF,to chnage the value of PI Message id.

Regards,

Raja

Answers (0)