|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Remote QM Name |
« View previous topic :: View next topic » |
Author |
Message
|
nab054371 |
Posted: Sun Sep 16, 2007 10:51 pm Post subject: Remote QM Name |
|
|
Disciple
Joined: 15 Nov 2006 Posts: 173
|
Hi ,
I need to write a message to remote QM.All I know bout the Remote QM is its name.We do not have no remote queue for this QM on my local QM.
Can I write to x'mission queue??If yes,I will need to append MQXQH??
thanks in advance |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 17, 2007 12:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It makes no sense to write to a remote queue manager when you don't know the name of the queue you're aiming at. Even if you wrote straight to the transmission queue (an unbelievably bad idea!) how's that going to help? Once the message arrives at the remote queue manager, what's going to happen? How will the remote queue manager know where to put the message if you've not specified a destination?
I don't understand your requirement here. How can you have a situation where you don't know the queue your message is going to? I understand about not knowing which queue manager is hosting it and there are various strategies for dealing with that, but how can a system be designed to fire a message generally in the direction of a queue manager & hope it finds it's way.
IMHO (and clearly I've never tried this) if you tried what you're proposing the sender MCA would dead letter the message because the transmission header would be incomplete - no destination. That's assuming it didn't throw an FDC and stop the channel. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 17, 2007 1:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
NEVER EVER EVER directly write to the XMITQ.
EVER.
Everything else <b>Vitor</b> says is spot on. Your question makes very little sense.
Also, if all you know is the remote queue manager name... how do you know which XMITQ you would write to, anyway? How do you know you even have a channel that goes to that QM? _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|