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 Installation/Configuration Support » mirroring messages from multiple queues

Post new topic  Reply to topic
 mirroring messages from multiple queues « View previous topic :: View next topic » 
Author Message
Mallik
PostPosted: Tue Apr 03, 2007 2:43 pm    Post subject: mirroring messages from multiple queues Reply with quote

Acolyte

Joined: 29 Feb 2004
Posts: 53

I am trying to mirror messages coming to two different queues. Each has a namelist defined to mirror messages to a different queue. The following are the two entries from qm.ini

ApiExitLocal:
Name=mirrorq1
Function=EntryPoint
Module=/var/mqm/exits/mirrorq
Data=MIRRORQ.NL1
Sequence=11

ApiExitLocal:
Name=mirrorq2
Function=EntryPoint
Module=/var/mqm/exits/mirrorq22
Data=MIRRORQ.NL2
Sequence=12

The following modules exist under /var/mqm/exits

mirrorq
mirrorq_r
mirrorq22
mirrorq22_r

This set up works just fine as I wanted, but I would like to know if there is a better way to use one module instead of two as in this case. Also is it possible to have one ApiExitLocal stanza with different names? (I tried but didn't work)

I would like to simplify this approach as I may need to mirror more than 5 queues in the future.

Thanks in advance
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 03, 2007 2:46 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Your namelist can specify more than set of {sourceQ,targetQ,targetQmgr}.

But only up to the maxlength of the namelist.

You can modify the exit, given that it's sample code, and change it to read it's configuration from anywhere it wants, or to accept a LIST of namelists in the Data option.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Mallik
PostPosted: Thu Apr 05, 2007 5:46 am    Post subject: Reply with quote

Acolyte

Joined: 29 Feb 2004
Posts: 53

Specifying multiple source and target queues in the name list helped me to simplify my approach

Thanks for the suggestion jefflowrey
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 Installation/Configuration Support » mirroring messages from multiple queues
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.