|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to keep getting the same message |
« View previous topic :: View next topic » |
Author |
Message
|
martin |
Posted: Fri Apr 19, 2002 6:06 am Post subject: |
|
|
Novice
Joined: 09 Aug 2001 Posts: 17 Location: Charlotte, NC
|
I am in a paralell, remote development situation where the interface is JMS messages on an MQSeries queue. Although, sample messages have been generated and put on queues, it is not practicle to regenerate them during my development testing when I remove one from the queue. It is important that the MQ header and JMS header details are preserved.
How can I make MQ keep offering me the same message. Or are there any tools that can read and hold a message and then put it back to the get queue exactly as it was found. It is OK if the messageID and time/date information changes.
|
|
Back to top |
|
 |
oz1ccg |
Posted: Fri Apr 19, 2002 7:24 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
Hi,
First write a small application that get/browse the messages from the queue and saves it to a local file on your machine including the MessageDesciptor.
This was like recording some music, now step two:
Write another small program to read the file from before and let this program restore the MessageDesciptor from the file and the data too, remember to set the option MQPMO_SET_ALL_CONTEXT, in this way you can do it, (I've done it on OS/390).
Good luck
_________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
EddieA |
Posted: Fri Apr 19, 2002 9:54 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|