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 » Locking and Unlocking Queue- from Datapower

Post new topic  Reply to topic
 Locking and Unlocking Queue- from Datapower « View previous topic :: View next topic » 
Author Message
yshakraj
PostPosted: Thu May 16, 2013 10:25 pm    Post subject: Locking and Unlocking Queue- from Datapower Reply with quote

Voyager

Joined: 14 Sep 2011
Posts: 91

Hi all,

we have a requirement to break a big message and place it to the queue .Before completion of placing all the messages -no other application should be able to pull the messages from the queue.

We had a thought like we will lock the queue until the process is completed .Once full message is placed it should release the queue.

We have done locking messages - but not the queue .Please help us - how we can go forward .


Thanks,
yshak
Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 16, 2013 11:01 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You need to put these messages under syncpoint (at a minimum) and commit when all of them have been put.

MQPMO_SYNCPOINT (or a transacted session in JMS)

However you should also look at grouped and segmented messages to see if these features would be useful.

You need to code correctly at the message level and not design a system involving "locked" queues (even if that were possible).
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 » Locking and Unlocking Queue- from Datapower
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.