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 for MQ5.2

Post new topic  Reply to topic
 mirrorq for MQ5.2 « View previous topic :: View next topic » 
Author Message
Shalini
PostPosted: Mon Mar 14, 2005 1:40 am    Post subject: mirrorq for MQ5.2 Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi All,

Do you know any links for mirroq for MQ5.2 .

We require same funtionality in some of our old production machines running in HP and AIX.

Current mirrorq in the site is only for the MQ5.3 (and related libraries).



Back to top
View user's profile Send private message Send e-mail
clindsey
PostPosted: Mon Mar 14, 2005 6:22 am    Post subject: Reply with quote

Knight

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

mirrorq is dependent on API exits which became generally available with WebSphere MQ 5.3. API exits were introduced with a CSD for WMQ 5.2 Solaris and I believe it was CSD06. Although it was only supported at that time on Solaris, the code would work with other platforms. The bottom line is that I believe you can use it with HP and AIX but it is not officially supported. This is not much of an issue though because nothing is officially supported on 5.2.

Follow the instructions for setup that is in the prologue of mirrorq.c. The setup was the same on 5.2. If it does not work right away, try relinking with the 5.2 mq libs.

Charlie
Back to top
View user's profile Send private message
Shalini
PostPosted: Wed Mar 30, 2005 7:12 am    Post subject: Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi,

Have any one written the mirrorq in java this is req for our old MQ5.2 system.

I know I cannot write the exit mirror q with java, but can I get the same funtionality /logic but without using trigger

I donot have any C background hence if some one have already done in java can share the logic I will try the same in Java without Trigger ...

If any one can suggest the logic



Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Mar 30, 2005 1:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Why without using a trigger?

You can trigger a java process.

I suggest following scenario (and I have implemented it)
Put the messages on a receiving queue (triggered)
Trigger a java process that has in its property file the distribution list associated with the receiving queue.
Distribute the message from the receiving queue under syncpoint.

Enjoy
Back to top
View user's profile Send private message Send e-mail
kman
PostPosted: Wed Mar 30, 2005 11:30 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

I thought the program was tested for v5.2 CSD04?

Certainly from my copy..
Code:
This program has been tested with  Microsoft Visual C++ 6.0 */
/*               and MQSeries V5.2 CSD4 on Windows/2000.


It works with MQ 5.2... I know it said windows.. but it should be the same with unix.
Back to top
View user's profile Send private message Yahoo Messenger
Shalini
PostPosted: Thu Mar 31, 2005 4:05 am    Post subject: Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi All,

We have lots of issues using trigger some time Trigger messages going to Dead queue (offcourse we have rectified it), but trigger I feel will make process slower.

Thats why I want to use Java

Already we have lots of MQ Trigger for other purposes I donot want to introduce one more ????

My question is If Iam not using Trigger Which event will envoke my programe and How to make sure that its working and active always ???
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Mar 31, 2005 5:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Without trigger your best bet is a message listener.
It has it's own advantages and pitfalls.

Next would be a loop with a receive with a long timeout.

Can't talk to the trigger problem in 5.2 but we are quite happy with it in 5.3.
You just need to make sure to put your triggered process in the background so that the triggermonitor is not waiting on it's completion.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Shalini
PostPosted: Fri Apr 01, 2005 3:23 am    Post subject: Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi,

Thanks for reply

Quote:
Without trigger your best bet is a message listener.


We have been using the runmqlsr (mq listerner)...

Is this some other listener .......... What is the syntax etc....

Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Apr 01, 2005 3:25 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

He means to write a program that implements a listener pattern - which is that it runs continuously and repeatedly gets from the queue until something tells it to stop.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kman
PostPosted: Mon Apr 04, 2005 6:19 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

Yes, that is some other listener. Look at Jeff's list of certs, one of them is Java. The JAVA/JMS manuals discusses a lot on message listener. But, hey.. that does not mean message listener can only be in java.
The point is, you need something to listen to the incoming message.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » mirrorq for MQ5.2
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.