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 » IBM MQ API Support » mirrorq and mqput2 (binding)

Post new topic  Reply to topic
 mirrorq and mqput2 (binding) « View previous topic :: View next topic » 
Author Message
jcaron
PostPosted: Mon Feb 13, 2006 12:53 pm    Post subject: mirrorq and mqput2 (binding) Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

Hi All,

Quick question about the mirrorq exit written by Charlie Lindsey... does anyone know if it will copy messages that are put to the input queue via binding mode rather than a client connection? We were interested in doing some performance testing on mirrorq; throughput, memory usage, etc, so I wrote a little bash script to pile on the messages w/ mqput2 (from the ih03 supportpac). The messages make it to the input queue perfectly but mirrorq doesn't make a copy whereas it copies perfectly if I put a test message w/ MQExplorer or any other client. This is w/ the mirrorq code that was on IBM's site as of this morning btw.

My apologies if this has been answered before, but I scoured the site and couldn't find anything close...

- Jeremy
Back to top
View user's profile Send private message
jcaron
PostPosted: Mon Feb 13, 2006 1:44 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

For all those who are interested, using the included mqputs utility rather than mqput2 will put messages that get copied via mirrorq. This is enough for my testing, but the core issue remains... will mirrorq do anything for you if you are putting messages via binding mode rather than a client connection???

This may just be my lack of knowledge regarding exits, but do they even fire when interacting w/ a queue manager in binding mode??
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 13, 2006 1:51 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, an API exit should fire for every MQ API call.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcaron
PostPosted: Mon Feb 13, 2006 1:53 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

That's what I thought too, which is why I'm so confused
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 13, 2006 1:55 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That doesn't mean the exit will respond to that firing.

It's possible that mirrorq has some filters for internal programs, so it doesn't interfere with certain things. And it's possible that the mqput2 program matches one of those filters.

I suspect that the mirrorq author will be along shortly to clear up the confusion.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
clindsey
PostPosted: Mon Feb 13, 2006 7:33 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Quote:

will mirrorq do anything for you if you are putting messages via binding mode rather than a client connection???


Yes, it works for both bindings and client mode. However you are seeing a bug that occurs when the target queue is not always opened with the same open options as the source queue. MQPUT2 exposes this bug.

I have a fix for this. You can PM me with your email address if you would like to get the updated code.

Charlie
Back to top
View user's profile Send private message
hal
PostPosted: Wed Jun 15, 2011 12:19 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Dec 2005
Posts: 67
Location: New York City, New York

Hello Charlie,

Are you still maintaining mirrorq? Can it be bundled into an IBM category 3 SupportPac?

WebSphere MQ 7 introduced an API exit MsgId cloning issue that IBM will likely fix. For an interim mirrorq patch, see the "mirrorq and amqsaxe MQPMO Options MQPMO_NEW_MSG_ID" thread at http://www.mqseries.net/phpBB2/viewtopic.php?t=57713&sid=a198dd2b396843f3fb3584f0c8eaa7a3
Hal
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 15, 2011 12:38 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Charlie hasn't maintained mirrorq for several years.

And probably won't see this message at all.
Back to top
View user's profile Send private message
hal
PostPosted: Wed Jun 15, 2011 1:02 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Dec 2005
Posts: 67
Location: New York City, New York

What is the status of mirrorq? Who is supporting it? An older 2004 version of mirrorq software is currently on the Capitalware website. A 2006 version was also available somewhere.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 15, 2011 1:24 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The status of mirrorq is exactly the same as it has always been.

Completely unsupported sample code.
Back to top
View user's profile Send private message
hal
PostPosted: Wed Jun 15, 2011 1:27 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Dec 2005
Posts: 67
Location: New York City, New York

Fair enough. Who is maintaining mirrorq?
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 15, 2011 1:44 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

hal wrote:
Fair enough. Who is maintaining mirrorq?


Nobody.
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 » IBM MQ API Support » mirrorq and mqput2 (binding)
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.