Author |
Message
|
kayhansefat |
Posted: Tue Nov 21, 2006 2:08 am Post subject: MQOutput - Putting a message on a Q on another queue manager |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
I can put messages on a queue which is on the default queue manager.
But when I change the MQOutput Node properties to specify a different Queue Manager and Queue the message fails to be put on the queue. Using a trace node part of the ExceptionList reads "Failed to open queue".
Thanks for your help. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 21, 2006 2:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, the MQOutput node DOES NOT act as an MQ client.
Broker uses server connections exclusively.
In order for what you want to do to work, you need to configure an MQ network beteween the broker queue manager and the remote queue manager - including some mechanism that allows the queue manager to determine where to put the message addressed to the remote queue manager. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kayhansefat |
Posted: Tue Nov 21, 2006 2:41 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
Although the queue I want to put the messaga on is on a different QM, this QM is still on the same server. I didnt think that I would have to setup remote queues, transmission queues and channels for this? |
|
Back to top |
|
 |
ramires |
Posted: Tue Nov 21, 2006 4:41 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
The broker is connected to one queue manager. You need to define a way (a channel) to the target queue on the target queue manager, even if it is in the same box.
Regards |
|
Back to top |
|
 |
nathanw |
Posted: Tue Nov 21, 2006 4:52 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
The premise behind this is teh same as having differnt Queue managers for your Broker and Config manager.
When you deploy to teh Broker it will look for a Transmission queue with the same name as your Broker Queue manager.
As long as there is a a Transmission queue with the correct QM name in your Broker queue manager and a channel running between them then it should automatically find the queue manager via this and write to the queue.
As answered in thread
http://www.mqseries.net/phpBB2/viewtopic.php?t=33440 _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 21, 2006 5:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kayhansefat wrote: |
I didnt think that I would have to setup remote queues, transmission queues and channels for this? |
Why not? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Tue Nov 21, 2006 4:40 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Broker is just another MQ applicaiton, so all other MQ communication rule still applies. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
wschutz |
Posted: Tue Nov 21, 2006 4:54 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
jefflowrey wrote: |
kayhansefat wrote: |
I didnt think that I would have to setup remote queues, transmission queues and channels for this? |
Why not? |
You don't ... use WMQ clustering ..... _________________ -wayne |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Nov 22, 2006 12:54 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
Ok thanks guys, I managed to get it working using channels etc. I will also look into clustering as it is new to me. |
|
Back to top |
|
 |
|