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 on Broker

Post new topic  Reply to topic
 MirrorQ on Broker « View previous topic :: View next topic » 
Author Message
mqsha
PostPosted: Wed Sep 29, 2004 12:48 pm    Post subject: MirrorQ on Broker Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Wed Sep 29, 2004 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
clindsey
PostPosted: Wed Sep 29, 2004 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Wed Sep 29, 2004 5:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mqsha
PostPosted: Thu Sep 30, 2004 8:06 am    Post subject: Reply with quote

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
View user's profile Send private message
clindsey
PostPosted: Fri Oct 01, 2004 5:35 am    Post subject: Reply with quote

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
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 on Broker
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.