ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Pulling from Same Queue

Post new topic  Reply to topic
 Pulling from Same Queue « View previous topic :: View next topic » 
Author Message
sarbajit
PostPosted: Tue Jul 29, 2003 1:04 pm    Post subject: Pulling from Same Queue Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Tue Jul 29, 2003 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mrlinux
PostPosted: Wed Jul 30, 2003 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Pulling from Same Queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.