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 » Copying the Messages from one Queue to another Queue

Post new topic  Reply to topic
 Copying the Messages from one Queue to another Queue « View previous topic :: View next topic » 
Author Message
VijayGoparaju`
PostPosted: Tue Aug 26, 2008 8:57 pm    Post subject: Copying the Messages from one Queue to another Queue Reply with quote

Acolyte

Joined: 26 Aug 2008
Posts: 72

Hello,
How to copy the messages from one queue to another with out deleting?
Can any one please help.
I have used this code:

for Opening:
queue = queueManager.AccessQueue( txtOfacQueueName1.Text, MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_BROWSE );
for Copying:

queue = queueManager.AccessQueue(txtOfacQueueName2.Text, MQC.MQOO_OUTPUT | MQC.MQOO_FAIL_IF_QUIESCING );

Thanks..
Vijay.G
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Aug 26, 2008 10:54 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi VijayGoparaju`,

I would suggest you look at the MQ samples gallery on the IBM website or here at the library.

You'll need the MQBrowse sample and the MQPut sample...merge them and you have your code.

And is this topic meant for this forum ? Should I move it ?

Regards.
Back to top
View user's profile Send private message Send e-mail
VijayGoparaju`
PostPosted: Wed Aug 27, 2008 2:44 am    Post subject: Reply with quote

Acolyte

Joined: 26 Aug 2008
Posts: 72

Thanks for your reply,
Can you please send me the Code in .NET how to do that? Keep this topic here only
dont move.
Thnaks,
Vijay....
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 » Copying the Messages from one Queue to another Queue
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.