|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Transactinal Dequeue |
« View previous topic :: View next topic » |
Author |
Message
|
deepu4u |
Posted: Mon Oct 10, 2005 4:50 am Post subject: Transactinal Dequeue |
|
|
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 |
|
 |
Mr Butcher |
Posted: Mon Oct 10, 2005 5:12 am Post subject: |
|
|
 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 |
|
 |
deepu4u |
Posted: Mon Oct 10, 2005 10:03 pm Post subject: |
|
|
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 |
|
 |
Mr Butcher |
Posted: Mon Oct 10, 2005 10:39 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Oct 13, 2005 3:25 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|