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 » specify MessageID in JMS

Post new topic  Reply to topic
 specify MessageID in JMS « View previous topic :: View next topic » 
Author Message
peterw686
PostPosted: Thu Jan 22, 2004 12:00 pm    Post subject: specify MessageID in JMS Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Thu Jan 22, 2004 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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