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 » Copying MessageId

Post new topic  Reply to topic
 Copying MessageId « View previous topic :: View next topic » 
Author Message
chaitu_bca
PostPosted: Mon Jun 21, 2004 10:08 pm    Post subject: Copying MessageId Reply with quote

Novice

Joined: 05 Apr 2004
Posts: 20

I have written a java program in which i pick up message from one queue (input queue) and copy it onto a different queue(output queue). All the attributes of the message are being copied to the message in the output queue but a new messageId is being generated for the message that is being put onto the output queue. Is there a way whereby we can pass the message id also?
I am using
putOptions = MQC.MQPMO_SET_ALL_CONTEXT + MQC.MQPMO_FAIL_IF_QUIESCING;
Back to top
View user's profile Send private message
leongor
PostPosted: Tue Jun 22, 2004 1:15 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

MsgId isn't part of message context, so you need to copy it from input message to output message.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
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 » Copying MessageId
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.