|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
mirrorq and java application |
« View previous topic :: View next topic » |
Author |
Message
|
Galichet |
Posted: Thu Sep 07, 2006 11:53 pm Post subject: mirrorq and java application |
|
|
Acolyte
Joined: 26 Jun 2001 Posts: 69 Location: Paris - France
|
Hi all,
I'm using the mirrorq exit on AIX
I've set up a mirroring on my Queue TEST (the mirror queue is TEST.MIRROR).
When I test it, all works fine when the message is put with the amqsput program on the AIX box, all works fine too when the message is sent by the same sample on another Queue Manager, but the message is not duplicated in the mirror queue when it is a java application that put the message on the queue ... ??
If someone has an idea ....
(I'm using the mirrorq.c written on 08/29/04) _________________ Eric Galichet
SMABTP
France |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 08, 2006 2:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you download the most recent version of mirrroq?
I mean, did you make a fresh download?
This is a known issue with mirrroq, and I'd thought that the last version uploaded had this fixed.
If not, then you will have to try and fix the code yourself. Good thing it's sample code. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Galichet |
Posted: Fri Sep 08, 2006 2:59 am Post subject: |
|
|
Acolyte
Joined: 26 Jun 2001 Posts: 69 Location: Paris - France
|
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 08, 2006 4:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Well.
A) I thought the most recent version had this fixed
B) It's sample code, not even vaguely supported
C) The author no longer works for IBM, and doesn't read here anymore
D) This all means that you have you to try and fix this yourself.
Start by enabling tracing, per the instructions in the source code. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
MB |
Posted: Fri Sep 08, 2006 3:42 pm Post subject: |
|
|
Acolyte
Joined: 25 Jun 2004 Posts: 52
|
Quote: |
/**********************************************************/
/* 04/15/2004 - change default behavior to only exclude */
/* internal functions when requested by setting */
/* MIRRORQ_NO_INTERNAL to any value */
/**********************************************************/
if (pExitParms->APICallerType == MQXACT_INTERNAL)
{
pEnv = getenv("MIRRORQ_NO_INTERNAL");
if (pEnv != 0)
{
rc = MQXCC_SKIP_FUNCTION;
}
}
|
Did you set any environment variable MIRRORQ_NO_INTERNAL by any chance?
Quote: |
TraceLong(pExitUserArea, __LINE__, LOG_DETAIL,
"Entry CompCode = ", *pCompCode);
TraceLong(pExitUserArea, __LINE__, LOG_DETAIL,
"Caller Type = ", pExitParms->APICallerType);
TraceLong(pExitUserArea, __LINE__, LOG_DETAIL,
"Hconn: ", (long)**ppHconn);
|
If you enable the trace, what are you getting the Caller Type as?
I had a slightly similar problem: When one specific WMQI 2.1 Message Flow wrote a message to the queue, the mirror message did not use to come, though such behavior was not seen with any other Message Flows in the same environment. I could never debug that. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|