|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMSInput [JMSCorrelId] to MQOutput |
« View previous topic :: View next topic » |
Author |
Message
|
Thomas2ab |
Posted: Wed Apr 23, 2014 1:07 pm Post subject: JMSInput [JMSCorrelId] to MQOutput |
|
|
Acolyte
Joined: 07 Mar 2014 Posts: 51
|
Hi everyone,
I am using MQ 7.5.0.3 and WMB 8.0.0.4 on windows.
My app is the following:
JMSInput -> ReplyToQ
Quite simple...
The input app set the correlationId in the JMSTransport/Transport_Folders/Header_Values/JMSCorrelationID header, which is a string.
The outgoing app is expecting that same ID in the MQMD.CorrelID.
I tried in many way to set it via esql compute, but either it give an exception regarding the size of the ID, or it does nothing and keep the generated one (which is diferente from the one in the JMS header and the one the outgoinf app is expecting), or it set it to 0000.
Am I missing something?
Thank you,
Regards, |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Apr 24, 2014 5:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you have a JMSCorrelationId that is over 24 bytes, you will need to set the RFH header and the corresponding field therein.
Otherwise check the value of your JMSCorrelationId...
If the source is MQ it will be in the form ID:<hex value of the 24 bytes>
You could eventually use JMSCorrelationIdAsBytes....
But be aware that some systems will support a 24 bytes correlationId whereas the correlationIdAsBytes will have a 50 byte array... (JBoss?)
So crossing systems with the correlid can and will be tricky.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|