ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMSInput [JMSCorrelId] to MQOutput

Post new topic  Reply to topic
 JMSInput [JMSCorrelId] to MQOutput « View previous topic :: View next topic » 
Author Message
Thomas2ab
PostPosted: Wed Apr 23, 2014 1:07 pm    Post subject: JMSInput [JMSCorrelId] to MQOutput Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 24, 2014 5:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMSInput [JMSCorrelId] to MQOutput
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.