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 » MIRRORQ

Post new topic  Reply to topic
 MIRRORQ « View previous topic :: View next topic » 
Author Message
wastenzel
PostPosted: Wed May 27, 2009 11:18 am    Post subject: MIRRORQ Reply with quote

Newbie

Joined: 27 May 2009
Posts: 1

Hi all-
I am using MIRRORQ to "copy" trades from one local queue to a remote queue to send to a separate server for dr/archive purposes. The issue that I am having is that after mirrorq runs it "moves" not "copies" the messages. I want to keep the original message in the source q but it keeps getting cleared. Any ideas? Is it possible to actually mirror the messages?
Back to top
View user's profile Send private message
zpat
PostPosted: Wed May 27, 2009 11:21 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I don't believe it clears it. Are they being removed by the application that is meant to read them?

If you have WMB, it's a lot easier to use a message flow to duplicate messages.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 27, 2009 12:30 pm    Post subject: Re: MIRRORQ Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

wastenzel wrote:
The issue that I am having is that after mirrorq runs it "moves" not "copies" the messages. I want to keep the original message in the source q but it keeps getting cleared. Any ideas? Is it possible to actually mirror the messages?


A couple of points:

- the mirrorq exit is a piece of sample code not considered production strength. AFAIK the code as supplied does a copy not a move, and if you're using it in a high volume share trading environment be sure that non-production strength code will hold with some stress testing.
- as a piece of sample code you can change it to do whatever you want, including fixing whatever bug has been introduced that's causing the destructive read (if it is a bug in the exit).
- WMQ exits are considered an advanced task. It's surprisingly easy to cripple a queue manager with an inefficient exit; it's not that hard to bring a queue manager crashing down. Testing is everything.
- Browse through the forum to see a number of possibly useful discussions on why mirroring messages isn't always the best idea.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » MIRRORQ
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.