Author |
Message
|
akm.mohan |
Posted: Thu Nov 05, 2009 12:02 pm Post subject: One to Many queues |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 41
|
Hi Friends,
Greetings.Hope you are doing Great.I have one question.Here one App is putting msg in source queue in QMGR A and reaching destination Queue in QMGR B this is fine.Question is here we are adding QMGR C so the same msg should route to QMGR C in one shot.Could you plz give Idea or sugestion how to do this.Basically is one input queue and multiple outqueue in dif QMGRS.
Guys any tool help me out.
THanks in Advace for you help.
Cris |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 05, 2009 12:06 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
A simple program that does one MQGET for each two MQPUTs (ideally in one UOW).
I think Capitalware has something free in this area, not sure about z/OS. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Nov 05, 2009 12:47 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
* Pub/sub
* PROPAGATE function in ESQL in Broker, in Compute Node code.
* Application OR 'A simple program that does one MQGET for each two MQPUTs' as said by zpat. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
akm.mohan |
Posted: Thu Nov 05, 2009 12:52 pm Post subject: |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 41
|
Thanks for your reply .we don't have Broker piece in our environment. |
|
Back to top |
|
 |
rekarm01 |
Posted: Thu Nov 05, 2009 2:17 pm Post subject: Re: One to Many queues |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
... or modify the MQPUT app to put to a distribution list, or topic, rather than a queue. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Nov 06, 2009 4:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
...
Is this the *third* most frequently posted question?
Or the fourth? |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Nov 06, 2009 6:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The subject of queue/message replication comes up pretty regularly here.
If you already have something like the message broker (or other replication product), this is a good place to accomplish this task
If you don't, then writing an app that gets the message you want replicated, then does two puts, is a good way. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Nov 06, 2009 11:07 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
bruce...
akm.mohan wrote: |
we don't have Broker piece in our environment. |
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
akm.mohan |
Posted: Tue Nov 10, 2009 8:14 am Post subject: |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 41
|
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 10, 2009 8:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
akm.mohan wrote: |
any solution friends... |
Aside from those given earlier in this thread, no not really. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Tue Nov 10, 2009 8:19 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
akm.mohan wrote: |
any solution friends... |
Yes, you got to write that solution in form of application/interface.  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
zpat |
Posted: Tue Nov 10, 2009 8:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
http://www.capitalware.biz/mmx_overview.html
In WMQ v7 you could probably use topic alias queues to pub/sub the messages without programming.
The Q program (support pac MA01) can copy messages from queue to queue in a sort of batch command scripting model (not ideal for production). |
|
Back to top |
|
 |
aradha |
Posted: Wed Nov 11, 2009 6:41 am Post subject: |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
U r adding another QMGR i think it should be in cluster then
u can put the mesg in one shot ........try this in clustering..... |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Nov 11, 2009 6:47 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
aradha wrote: |
U r adding another QMGR i think it should be in cluster then |
Have you tried doing that ?
aradha wrote: |
u can put the mesg in one shot ........try this in clustering..... |
Could you please explain that, HOW ?  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 11, 2009 7:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
aradha wrote: |
U r adding another QMGR i think it should be in cluster then |
It could be in a cluster. Or not
aradha wrote: |
u can put the mesg in one shot ........try this in clustering..... |
Really? When did they add the ability to perform multiple sends to clustering?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|