|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Pulling from Same Queue |
« View previous topic :: View next topic » |
Author |
Message
|
sarbajit |
Posted: Tue Jul 29, 2003 1:04 pm Post subject: Pulling from Same Queue |
|
|
Acolyte
Joined: 22 May 2003 Posts: 53
|
Hi all,
What will happen when two applications pulling from a common queue. DeadLock? Where can I get related informations.
Thanks in advance |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Jul 29, 2003 2:21 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You won't get a deadlock. One of the applications will get the message and the other will get no message available. If there are multiple messages on the queue, they'll each get messages. You can play with this some by using the amqsput and amqsget samples to put and get messages. |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Jul 30, 2003 1:33 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well it also depends on the queue definitions,
there are attributes that will prevent more than one application from opening a queue, SEE Transmit queue defs, only one applciation can open it for MQGET's _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
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
|
|
|
|