Author |
Message
|
ashritha |
Posted: Thu Aug 10, 2006 9:20 am Post subject: How to put Mgs on Cluster queue using replytoQ |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Hello,
I am trying to put an XML message on a cluster queue dynamically using the ReplyToQ property. But as the cluster queue is on a different qmgr I had to specify ReplyTOQmgr also, which I am not supposed to do.
Is there any way around to achieve this without specifying the queuemanager name?
Thanks |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 10, 2006 9:25 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Normally, you don't want to use clustering for reply messages, as you usually want them to go back to the queue manager that created the request message (since thats where is requesting application is running and thats where the reply message must go).
If you really want to use clustering for reply messages, don't specify a replytoqmgr name and then the reply queue must be a cluster queue. _________________ -wayne |
|
Back to top |
|
 |
ashritha |
Posted: Thu Aug 10, 2006 9:43 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Hello,
Thanks so much for the quick reply. I am trying the same... not specifying the replytoqueuemanger name and trying to send the messages... it errors out. its trying to look for the reply to q in the local queuemanager and is failing.
if i hardcode the cluster queue name in the queuename property of the output node and dont specify any queuemanager it worked fine.
So, i tried creating a destination list for the output node but even this did not help.
Any other suggestions?
Thanks. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 10, 2006 9:53 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
ashritha wrote: |
I am trying the same... not specifying the replytoqueuemanger name and trying to send the messages... it errors out. its trying to look for the reply to q in the local queuemanager and is failing.
|
Then it sounds like the replytoQ hasn't been defined as a queue in the cluster..... _________________ -wayne |
|
Back to top |
|
 |
ashritha |
Posted: Thu Aug 10, 2006 11:43 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
No... The queue is in cluster... because it works fine when i give the same queuename in the queuename property of the MQOutput Node. In this case I haven't specified the queuemanager name but still the message is delivered to the cluster queue. |
|
Back to top |
|
 |
|