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 » General IBM MQ Support » How to keep getting the same message

Post new topic  Reply to topic
 How to keep getting the same message « View previous topic :: View next topic » 
Author Message
martin
PostPosted: Fri Apr 19, 2002 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
oz1ccg
PostPosted: Fri Apr 19, 2002 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
EddieA
PostPosted: Fri Apr 19, 2002 9:54 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Take a look at this:

http://www-4.ibm.com/software/ts/mqseries/txppacs/ma01.html

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 » General IBM MQ Support » How to keep getting the same message
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.