Author |
Message
|
lotusphilo |
Posted: Tue Oct 10, 2006 12:18 pm Post subject: Sending 1 Message to Two Different Queues |
|
|
Voyager
Joined: 31 Mar 2004 Posts: 76
|
Is there a way to send one message to more than one queue, on the same queue manager on z/OS without making any changes to the putting application? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 10, 2006 12:19 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Not without installing an exit. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
lotusphilo |
Posted: Tue Oct 10, 2006 12:24 pm Post subject: |
|
|
Voyager
Joined: 31 Mar 2004 Posts: 76
|
What type of exit would be best? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 10, 2006 12:48 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Well, you can't use a channel exit if the message isn't coming in over a channel. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mvic |
Posted: Tue Oct 10, 2006 1:07 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
lotusphilo wrote: |
What type of exit would be best? |
Check out the possibility of writing an API exit for MQPUT. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Oct 10, 2006 1:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
This is zOS, so there is no "API Exit", per se. There is the "API Crossing Exit" for CICS transactions. _________________ -wayne |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 10, 2006 3:10 pm Post subject: |
|
|
Guest
|
An option: Write a new application that MQGETs a single message (that was MQPUT by the app you can't/don't want to modify), then MQPUTs the message to the two queues you want it replicated to. Should be easy to write. |
|
Back to top |
|
 |
tleichen |
Posted: Wed Oct 11, 2006 5:50 am Post subject: Re: Sending 1 Message to Two Different Queues |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
lotusphilo wrote: |
Is there a way to send one message to more than one queue, on the same queue manager on z/OS without making any changes to the putting application? |
Conventionally, you should be using a distribution list.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
wschutz |
Posted: Wed Oct 11, 2006 5:56 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Distribution lists
Not supported on WebSphere MQ for z/OS.
Distribution list |
_________________ -wayne |
|
Back to top |
|
 |
zpat |
Posted: Wed Oct 11, 2006 6:02 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
bruce2359 wrote: |
An option: Write a new application that MQGETs a single message (that was MQPUT by the app you can't/don't want to modify), then MQPUTs the message to the two queues you want it replicated to. Should be easy to write. |
A message broker can do this easily without any coding. |
|
Back to top |
|
 |
chv_v |
Posted: Wed Oct 11, 2006 6:24 am Post subject: |
|
|
Newbie
Joined: 01 Feb 2005 Posts: 9
|
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 11, 2006 6:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
chv_v wrote: |
Can't we use Namelist |
Not without changing the putting program. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tleichen |
Posted: Wed Oct 11, 2006 3:59 pm Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
wschutz wrote: |
Quote: |
Distribution lists
Not supported on WebSphere MQ for z/OS.
Distribution list |
|
OOps, your right... I did mean namelists, though. Anyway, you still would have to change the putting program. I'm afraid I have little sympathy for people or companies that put up road blocks that keep things from getting done. Why can't the program be changed? If you want a program to do something different you change it. What's the hassle?  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
|