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 » Getting Correlid in String format

Post new topic  Reply to topic
 Getting Correlid in String format « View previous topic :: View next topic » 
Author Message
boogey
PostPosted: Fri Jul 02, 2010 5:02 am    Post subject: Getting Correlid in String format Reply with quote

Novice

Joined: 01 Jan 2007
Posts: 21

I am writing a java program using MQ java base API. I need to retrieve the Correlid in string format which got some application specific info. Please post if anybody has done that or any idea how to do it.

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 02, 2010 5:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

There have been multiple posts in this forum on why you shouldn't put application data (or any user data) in the correl & msg id fields. One of the reasons is that it's not a string (as you've discovered) it's a byte array. You can cast it but that's not going to work all that well, especially if you're crossing platforms and/or code pages.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Getting Correlid in String format
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.