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 » General IBM MQ Support » Message id when message is moved

Post new topic  Reply to topic
 Message id when message is moved « View previous topic :: View next topic » 
Author Message
Prasant Padhi
PostPosted: Wed Dec 01, 2004 4:48 pm    Post subject: Message id when message is moved Reply with quote

Newbie

Joined: 01 Dec 2004
Posts: 4

If a message already having a message id in its header is put to another queue, does the queue manager always generates a new message id and replaces the old message id with the new one? I don't want this to happen? Is there any options that can be specified to do this? or the queue manager generates a new message id only if the message id in the header field is blank? Please let me know.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 01, 2004 5:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Depends on API used and options specified.

I believe in JMS it would be prudent to clear the message ID if you wanted a new one.

Enjoy
Back to top
View user's profile Send private message Send e-mail
rajmq
PostPosted: Thu Dec 02, 2004 7:57 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi,

It is Java ..Check the below code !!!

String messageId,correlationId

MQMessage msg = new MQMessage();
msg.messageId = messageId.getBytes();
msg.correlationId = correlationId.getBytes();

Cheers,
RJ
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Dec 02, 2004 8:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

There are some put message options that you need to set to control how the message/correlation id is set on the put. What are you using for these?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Message id when message is moved
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.