|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Communication between two queues |
« View previous topic :: View next topic » |
Author |
Message
|
jadaaih |
Posted: Wed Sep 10, 2008 3:28 am Post subject: Communication between two queues |
|
|
Apprentice
Joined: 10 Sep 2008 Posts: 25
|
Hi,
I would like to establish queue connection between a local queue in a machine to remote queue in another machine(with different queue managers).
Like, whenever I put a message in local queue it has to be sent to the remote queue.
I checked out the intercommunication manual and followed the steps. But I am unable to achieve it though.
Could you please explain or point me as to how to do this?
Thanks,
Jade |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Sep 10, 2008 3:41 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
what all you did and where are you stuck ?? what error are you facing ?
us to u _________________ Cheers |
|
Back to top |
|
 |
exerk |
Posted: Wed Sep 10, 2008 3:46 am Post subject: Re: Communication between two queues |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
jadaaih wrote: |
Hi,
I would like to establish queue connection between a local queue in a machine to remote queue in another machine(with different queue managers).
Like, whenever I put a message in local queue it has to be sent to the remote queue. |
You will need an application to remove the message from the local queue, and PUT it as a new message to a remote queue definition (QR).
jadaaih wrote: |
I checked out the intercommunication manual and followed the steps. But I am unable to achieve it though.
Could you please explain or point me as to how to do this?
Thanks,
Jade |
Just having a channel pair and transmission queue will not achieve what it is you want to do. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Sep 10, 2008 3:47 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
unfortunately "local" and "remote" have two meanings, it can be the queue type, and it can be the topology, e.g. a queuemanager that is "local" to you (or your application) or a queuemanager that is "remote" to you.
to send messages from one queuemanager to another the messages have to be put to a queue of type qremote which is local to your application (local definition of a remote queue). the target queue on the remote queuemanager must be of type qlocal, as only qlocal's can hold messages.
well, what steps did you follow and what are the results from every step?
you defined 2 queuemanagers successfully?
you defined a sender / receiver channel pair including xmitq at the sender between both queuemanagers?
the channel is running?
you defined a queue type qlocal as target for messages on the receiving queuemanager?
you defined a queue type qremote on the sending queuemanager with remotename, remoteqmgrname and transmissionqueuename on the sending queuemanager?
you put message to the queue type qremote on the sending queuemanager with Returncode 0?
you checked all queues for DEPTH including DLQs? You checked Channel Status if a messages has flown over the channel? _________________ Regards, Butcher |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 10, 2008 3:53 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
jadaaih |
Posted: Wed Sep 10, 2008 5:25 am Post subject: |
|
|
Apprentice
Joined: 10 Sep 2008 Posts: 25
|
Finally, I got it working...There was some configuration issues in the remote queue configuration.
The help manual had an example which I tried to follow.
Thanks all..!! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|