|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MirrorQ on Broker |
« View previous topic :: View next topic » |
Author |
Message
|
mqsha |
Posted: Wed Sep 29, 2004 12:48 pm Post subject: MirrorQ on Broker |
|
|
Novice
Joined: 10 Jun 2004 Posts: 17
|
Hi,
We are using MirrorQ Exit for replicating message on the mirror queue. it works fine. but when the message goes from Broker its not coping message in mirror queue. only when we put message on the local queue its coping message in MirrorQ.Is there any special instructions do i need to take when the message goes thru broker.
Thanks in advance.. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 29, 2004 1:09 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You need to have this append moved to the API support section. I don't think the author of mirrorq keeps an eye on the WMQI section. |
|
Back to top |
|
 |
clindsey |
Posted: Wed Sep 29, 2004 2:49 pm Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
The default behavior of mirrorq originally was restricted to local queues because it did not register for MQ internal processes like the mca.
The package has just been refreshed on the download site, at least for Windows, Linux, and AIX. If you will download the package again, and replace your mirrorq.dll, or mirrorq and mirrorq_r in the mq exits directory, I believe it will solve your problem.
If you have Solaris or HP, you can download one of the refreshed packages and extract only mirrorq.c. Using the make file from the original package you downloaded, you can build a new api exit. I am having some difficulty in getting access to a build environment to be able to rebuild on Sun and HP.
Charlie |
|
Back to top |
|
 |
kirani |
Posted: Wed Sep 29, 2004 5:08 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
[Moved to API Support Forum.] _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mqsha |
Posted: Thu Sep 30, 2004 8:06 am Post subject: |
|
|
Novice
Joined: 10 Jun 2004 Posts: 17
|
Hi Charlie,
Thanks for you reply. I was using latest package on Sun Solaris. Actually i changed in code, now it works fine for me.
I debug the code , i found a error
File: mirrorq.c LINE: 590 MQPUT failed with rc = 2095
changed the code like this:
O_options = MQOO_OUTPUT | MQOO_FAIL_IF_QUIESCING | MQOO_SET_ALL_CONTEXT;
It works fine for me. |
|
Back to top |
|
 |
clindsey |
Posted: Fri Oct 01, 2004 5:35 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
mqsha,
Thanks for the feedback. I am glad you got it resolved. I looked at this a bit more in detail and I think I will make a change to capture the open options for the source queue and use the same options to open the target queue. You may want to do that in your code. The open options needs to be added as a new field in the _MirrorQueueList because the open of the target queue happens the first time a message is actually put to the queue. The open of the target queue only occurs once. The handle is cached until the source queue is closed.
Thanks,
Charlie |
|
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
|
|
|
|