|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message id when message is moved |
« View previous topic :: View next topic » |
Author |
Message
|
Prasant Padhi |
Posted: Wed Dec 01, 2004 4:48 pm Post subject: Message id when message is moved |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Dec 01, 2004 5:05 pm Post subject: |
|
|
 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 |
|
 |
rajmq |
Posted: Thu Dec 02, 2004 7:57 am Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Thu Dec 02, 2004 8:19 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|