|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message ID and JMS id |
« View previous topic :: View next topic » |
Author |
Message
|
Johncwl |
Posted: Wed Dec 17, 2003 11:01 pm Post subject: Message ID and JMS id |
|
|
Newbie
Joined: 17 Dec 2003 Posts: 1
|
Hi,
I am putting a message in MQ using JSM APIs, Here I have set the message is , now the problem is I don't want the MQ to put the message id , I want the id to remian the same as what was set by API.
But here MQ is appending its default message id, so how to avoid it?? |
|
Back to top |
|
 |
EddieA |
Posted: Wed Dec 17, 2003 11:46 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Hers's a snippet from the manual for Message, setJMSMessageID :
Quote: |
Any value set using this method is ignored when the message is sent, but this method can be used to change the value in a received message. |
I think that might answer your question. But I've no idea what use it might be setting this after you've received a message. Answers in a plain envelope please.
Maybe you could use the CorrelationID instead.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|