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 » How do I deliver to two different destinations?

Post new topic  Reply to topic
 How do I deliver to two different destinations? « View previous topic :: View next topic » 
Author Message
bebryant
PostPosted: Wed Jun 04, 2003 7:17 am    Post subject: How do I deliver to two different destinations? Reply with quote

Newbie

Joined: 04 Jun 2003
Posts: 3

Can someone tell me if it is possible to set up a remote queue definition to deliver to two different queue managers and queues.
Back to top
View user's profile Send private message Send e-mail
skn
PostPosted: Wed Jun 04, 2003 7:28 am    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

what exactly u want to accomplish.deliver the same message to two QMGRs or Alternate the meaasges between the QMGRS.
Back to top
View user's profile Send private message
bebryant
PostPosted: Wed Jun 04, 2003 7:29 am    Post subject: Reply with quote

Newbie

Joined: 04 Jun 2003
Posts: 3

We want to deliver the same message to two different qmgrs -- not alternating.
Back to top
View user's profile Send private message Send e-mail
skn
PostPosted: Wed Jun 04, 2003 7:34 am    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

i dont think u can do that with remote defenitions.u can use the MQSI for that.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Jun 04, 2003 8:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

In addition to WMQI, you could use a distribution list to get two sends out. You could also consider pub/sub with the original send being a publish and the two receives being subscribers. Another alternative would be to look at something like the mirrorq sample to make a copy of a message on a second queue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
bebryant
PostPosted: Wed Jun 04, 2003 10:03 am    Post subject: Reply with quote

Newbie

Joined: 04 Jun 2003
Posts: 3

Distribution lists sound like the answer. I am searching in the manuals to understand how to use them. I'm struggling to find out how you define the distribution lists. Is it an object you define or just part of a message header?

My users have a program that writes to a queue currently. They are asking for a simple way to write to two qmgrs but they don't want to have to change their program. My guess is that if they use a distribution list - the MQPUT command will be different and they will have to change their program no matter what..

Am I understanding this correctly?
Back to top
View user's profile Send private message Send e-mail
skn
PostPosted: Wed Jun 04, 2003 10:31 am    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

even if u use mirrorq, the program needs to changed.i dont think its possible without changing the program whichever way u choose.
Back to top
View user's profile Send private message
bduncan
PostPosted: Wed Jun 04, 2003 3:45 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

I always chuckle when I hear people say they want a highly specific application to suddenly do something different, without having to change any code... Unfortunately, if you want to use distribution lists, you will have to change your application, as you guessed. As some other people suggested, your best bet may be to use a program like mirrorq duplicate the message once your application has put it to some intermediate queue.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
zpat
PostPosted: Fri Jun 06, 2003 12:37 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Generally far better to amend the program than it is to complicate your support and maintenance environment.

But yet another way (on 5.3) is the API crossing exit. But I would really only do this if you've lost the source code of the original program.
Back to top
View user's profile Send private message
Cliff
PostPosted: Fri Dec 19, 2003 6:16 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

If the PUTting application is or can be made to put to remote queues, then this can easily be achieved via a channel message exit. The exit can send a copy of the message to another queue, perhaps the original queue name with a suffix.

So, no changes to the application!

Cheers -

Cliff
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » How do I deliver to two different destinations?
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.