|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Server-client |
« View previous topic :: View next topic » |
Author |
Message
|
sharad@EDS |
Posted: Thu Aug 23, 2007 6:56 am Post subject: Server-client |
|
|
Newbie
Joined: 18 Mar 2007 Posts: 1 Location: pune
|
can we send a single message from client to 10 different server simultaneously. _________________ hi all , I am in EDS working as a MQ Administrator. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 23, 2007 6:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Each MQPut only sends messages to ONE connection.
So, no, for most reasonable meanings of "simultaneously".
You want to use Pub/Sub. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 23, 2007 7:35 am Post subject: |
|
|
Guest
|
If you don't have pub/sub, look at Distribution Lists. With one MQOPEN, one MQPUT, you can put a single copy of a message on many queues. DistLists are programmer constructs. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 23, 2007 7:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
bruce2359 wrote: |
If you don't have pub/sub, look at Distribution Lists. With one MQOPEN, one MQPUT, you can put a single copy of a message on many queues. DistLists are programmer constructs. |
A distribution list will only put a message to ONE MQ Server/queue manager.
It may be that that queue manager will then move messages to the other 9 queue managers.
But not "simultaneously".
YES, pub/sub does the same thing - one message to one queue manager, messages get moved to other queue managers and it's not "simultaneous".
But that just means that "distribution list" is not a better answer to the question than "pub/sub".
It may be that distribution list is a better solution to the actual requirements... but we don't have actual requirements. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 23, 2007 11:56 am Post subject: |
|
|
Guest
|
"distribution list will only put a message to ONE MQ Server/queue manager."
A distribution list may contain both local and remote queue names. The list, composed by the programmer as an array, contains qmgrname(s) and qname(s). At MQPUT (to the list) the queue manager distribution list software places a copy of the message in each of the local queues; then sends a reduced distribution list to the remote qmgr(s) along with one copy of the message.
When I encounter 'concurrently' or 'simultaneously' (as in this narrative), I guessed that the poster meant a single initiating event; not that all the messages must be delivered to their ultimate destinations at precisely the same instant in time.
As you pointed out, the narrative is incomplete as to requirements. |
|
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
|
|
|
|