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 » Message ID and JMS id

Post new topic  Reply to topic
 Message ID and JMS id « View previous topic :: View next topic » 
Author Message
Johncwl
PostPosted: Wed Dec 17, 2003 11:01 pm    Post subject: Message ID and JMS id Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Dec 17, 2003 11:46 pm    Post subject: Reply with quote

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
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 » Message ID and JMS id
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.