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 » General IBM MQ Support » MQGET under syncpoint with numerous processes?

Post new topic  Reply to topic
 MQGET under syncpoint with numerous processes? « View previous topic :: View next topic » 
Author Message
lyntongrice
PostPosted: Fri Oct 28, 2011 11:20 pm    Post subject: MQGET under syncpoint with numerous processes? Reply with quote

Acolyte

Joined: 26 Sep 2010
Posts: 70

Hi there,

This may sound like a stupid question and probably is, but I just want to make 100% sure with the MQ guru's.

I have a single queue and have 4 instances of an application pulling messages off it with MQGET under syncpoint (using MQBACK and MQCMIT etc).

Is is humanly possible that process 1 and process 2 can *somehow* both get message 1 at the same time? I assume this is impossible but just want to make 100% sure. I have read the IBM docs and it says that the message will not be "in view" to the other processes when doing an MQGET under syncpoint...but are there any parameters that need to be set to ensure this? I am assuming this is default behaviour....

Once again sorry for the stupid question.....

Thanks for the help

Lynton
Back to top
View user's profile Send private message
zpat
PostPosted: Sat Oct 29, 2011 2:44 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Unless you are using MQGET with browse, the message will only be made available to one instance. If rolled back of course it is then available again (with the MQMD.Back count incremented). No special options are needed.

Be careful to understand what happens if you close the queue or disconnect without commiting or backing out the unit of work explicitly.
Back to top
View user's profile Send private message
lyntongrice
PostPosted: Sat Oct 29, 2011 3:00 am    Post subject: Reply with quote

Acolyte

Joined: 26 Sep 2010
Posts: 70

Thanks for the feedback, much appreciated
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQGET under syncpoint with numerous processes?
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.