|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
specify MessageID in JMS |
« View previous topic :: View next topic » |
Author |
Message
|
peterw686 |
Posted: Thu Jan 22, 2004 12:00 pm Post subject: specify MessageID in JMS |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Hi ,
In our application, we have a message receiver which get the message and after business logic, send it out to third party. The message ID of the incoming message is useful and need to be keep in the message transfer.
How do I implement this function by using JMS?
I tried to use JMS API,
Code: |
msg.setJMSMessageID() |
, it still generates a new MessageID every time.
I know by using Java client, we can to that. However, we need to send to a cluster remote queue, and we can't get the remote channel name, so we can't use Java client.
Any help is appreciated. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Jan 22, 2004 1:01 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Asking the same question again http://www.mqseries.net/phpBB2/viewtopic.php?t=12993 doesn't change the answer.
You CANNOT set the MessageID using JMS.
Additional edit: If you can't get the Channel name, then you can't use JMS either. There's no difference in the information you need to be able to connect to a Queue Manager between the Java API and JMS. They both can connect in bindings mode and for client they both need Hostname, Channel, and Port.
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
|
|
|
|