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 » Setting MessageID using JMS

Post new topic  Reply to topic
 Setting MessageID using JMS « View previous topic :: View next topic » 
Author Message
viswasg
PostPosted: Mon May 06, 2024 3:02 am    Post subject: Setting MessageID using JMS Reply with quote

Novice

Joined: 15 Oct 2003
Posts: 10

Hello,

We are trying to sending a message from a Java base application using JMS. There is a need to set a custom ID to the Message ID filed in MQMD while sending the message to the queue. Please note that we are connecting to a remote queue manager using Client Connection channel while dropping the message. We are seeing that whatever we try to set will get overwrtitten by a system value.

Can you please advise if there is a restriction on setting our own ID or are we doing something wrong here?

Thanks and Regards,
Viswas Gangarapu
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon May 06, 2024 1:58 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3254
Location: London, ON Canada

Show us the code you are using to set the Message Id from a JMS application. I would advise against it. You should use the Correlation Id instead.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Setting MessageID using JMS
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.