Author |
Message
|
wmq_guy |
Posted: Sat Feb 26, 2005 4:53 pm Post subject: edit MQMD |
|
|
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 |
|
 |
vennela |
Posted: Sat Feb 26, 2005 5:10 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Sat Feb 26, 2005 9:59 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 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 |
|
 |
wmq_guy |
Posted: Sun Feb 27, 2005 9:24 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Sun Feb 27, 2005 9:45 pm Post subject: |
|
|
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 |
|
 |
|