How about starting with searching the forum? This has been covered several times and a simple search using the search box in the top right would have found something of help. _________________ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Posted: Tue Dec 22, 2009 4:23 pm Post subject: Re: copy messages from one queue to other
Jedi
Joined: 09 Mar 2004 Posts: 2080
arifndc wrote:
i have a queue which contains some messges i want to copy those message into other. How can i do this ??????????
If you know C, look for amqsput0.c and amqsget0.c - these demonstrate how to write MQ application programs that put and get messages. You'd have to merge the logic from the two, to give one program that did a put and a get. If you're doing it properly you'll get and put within "syncpoint", and then commit the syncpoint.
Or other utilities are available that can do it for you, like others have mentioned.
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