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 » edit MQMD

Post new topic  Reply to topic
 edit MQMD « View previous topic :: View next topic » 
Author Message
wmq_guy
PostPosted: Sat Feb 26, 2005 4:53 pm    Post subject: edit MQMD Reply with quote

Acolyte

Joined: 21 Oct 2004
Posts: 50

Is it possible to go inside a message's MQMD that is sitting inside a queue and edit the MQMD (reply2Q & reply2Qmgr) fields?

there are actually 25 messages and I would like to change those thow field in every one.

Thanks!
Back to top
View user's profile Send private message
vennela
PostPosted: Sat Feb 26, 2005 5:10 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You can write a program to do that. Some of the support pacs might be helpful
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Sat Feb 26, 2005 9:59 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Easier still.

Setup a qmgr alias and an alias queue on the target qmgr and process them as they are....

Enjoy
Back to top
View user's profile Send private message Send e-mail
wmq_guy
PostPosted: Sun Feb 27, 2005 9:24 pm    Post subject: Reply with quote

Acolyte

Joined: 21 Oct 2004
Posts: 50

thanks for the replies.

I didn't see any actual support pac for this, but you guys are saying it IS possible for me to write a java program to go and loop through each message and edit the replytoQ and replytoQmgr fields in the existing MQMD for each message.

possiblly use something similar to amqsbcg.java?

thanks again.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Feb 27, 2005 9:45 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't edit a message on a queue. You can only get a message, and then put a message.
_________________
I am *not* the model of the modern major general.
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 » edit MQMD
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.