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 Java / JMS » Transactinal Dequeue

Post new topic  Reply to topic
 Transactinal Dequeue « View previous topic :: View next topic » 
Author Message
deepu4u
PostPosted: Mon Oct 10, 2005 4:50 am    Post subject: Transactinal Dequeue Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

Hi all,
Is transactional dequeue is supported in MQ Series?

The scenerio is this:
I have different java threads working on different queue under same Queue Manager. Once the processing (dequeue) by one thread is completed, Can I do the Commit or Rollback of all the dequeue done by this thread?
The processing on different threads is independent.

Is there a way to achieve this behaviour?

The same question applies for the Enqueue.

Thanks,
Deepak
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Mr Butcher
PostPosted: Mon Oct 10, 2005 5:12 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

you can not dequeue enqueue but you can work with syncpoint and so create a unit of work which can be "committed" or "backouted"

the comit / backout commands work on base of the connection handle, as long as your threads have different handles they are independend, and so are their units of work.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
deepu4u
PostPosted: Mon Oct 10, 2005 10:03 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

Hey Mr Butcher,
Thanks for your reply.

The by connection handles you mean Queue Manager??
But I have same Queue Manger so it means I can not achieve my scenerio?

By the way Sync points work on Queue Manager, but I have different unit of work for different Queue under same Queue Manager.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Mr Butcher
PostPosted: Mon Oct 10, 2005 10:39 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

it works by connection handle. you cann connect multiple times if you want. but i am no java guru, maybe one of the java gods can explain better.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 13, 2005 3:25 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

in JMS this is controlled by the javax.jms.Session profile.
Read up on the using java manual.
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 Java / JMS » Transactinal Dequeue
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.