Posted: Mon Jan 26, 2009 2:42 pm Post subject: Can a local queue send a message to another local queue?
Novice
Joined: 23 Jan 2009 Posts: 10
Hi
If a qmanager QA exists on machine A with queue Q123.
a qmanager QB exists on machine B with queue Q456.
Is there a way where I can recieve a message from an application onto Q123 as well as to Q456.
I am aware that we can create a remote queue but we can not read the message from a remote queue. I want to be able to read the message on both machines A and B.
Please suggest
Posted: Mon Jan 26, 2009 2:47 pm Post subject: Re: Can a local queue send a message to another local queue?
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
bhanukiran wrote:
Is there a way where I can recieve a message from an application onto Q123 as well as to Q456.
If you want to read the same message from 2 places you should consider a pub/sub model; it's easier to amend when someone comes back to you in 6 months asking if they can have a 3rd copy on Q789 on QC.
Failing that, use something like a distribution list to put multiple copies of the message.
In extremis, you could amend the mirrorq exit to make a copy, but a) exits are a tricky and risky route b) you're in a world of hurt if you do need a 3rd copy in the future. _________________ Honesty is the best policy.
Insanity is the best defence.
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