Author |
Message
|
jcaron |
Posted: Mon Feb 13, 2006 12:53 pm Post subject: mirrorq and mqput2 (binding) |
|
|
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 |
|
 |
jcaron |
Posted: Mon Feb 13, 2006 1:44 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Feb 13, 2006 1:51 pm Post subject: |
|
|
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 |
|
 |
jcaron |
Posted: Mon Feb 13, 2006 1:53 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Feb 13, 2006 1:55 pm Post subject: |
|
|
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 |
|
 |
clindsey |
Posted: Mon Feb 13, 2006 7:33 pm Post subject: |
|
|
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 |
|
 |
hal |
Posted: Wed Jun 15, 2011 12:19 pm Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jun 15, 2011 12:38 pm Post subject: |
|
|
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 |
|
 |
hal |
Posted: Wed Jun 15, 2011 1:02 pm Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Jun 15, 2011 1:24 pm Post subject: |
|
|
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 |
|
 |
hal |
Posted: Wed Jun 15, 2011 1:27 pm Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
Fair enough. Who is maintaining mirrorq? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jun 15, 2011 1:44 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
hal wrote: |
Fair enough. Who is maintaining mirrorq? |
Nobody. |
|
Back to top |
|
 |
|