|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MessageQueue.begin |
« View previous topic :: View next topic » |
Author |
Message
|
danabel |
Posted: Mon Jan 14, 2002 4:25 am Post subject: |
|
|
Newbie
Joined: 11 Dec 2001 Posts: 4
|
Hi guys,
I've been playing with the mq series java api and i was wondering when the begin method is supposed to be used.
I have got transactions working by setting the option in each message i get or put, then using the commit/backout methods. But i don't understand when i would want to use the begin method. If i try to use it in either bindings or TCP/IP connection modes, instead of marking the messages as part of the transaction it throws an error.
can any one help?
thanks
dan |
|
Back to top |
|
 |
StefanSievert |
Posted: Mon Jan 14, 2002 12:07 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Dan,
MQBEGIN is only used when MQSeries is the resource coordinator in an XA transaction (global unit of work) that spans multiple resource managers, for example MQSeries and a database. Note that XA resource coordination is currently not supported with any of the MQSeries Clients, including the MQSeries classes for Java client.
Recommended background reading: Application Programming Guide, Chapter 13 on 'Committing and backing out units of work',
MQSeries using Java, Chapter 8 on 'Environment-dependent behavior'
Hope this helps,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
danabel |
Posted: Tue Jan 15, 2002 3:22 am Post subject: |
|
|
Newbie
Joined: 11 Dec 2001 Posts: 4
|
Most useful, thanks!
these documents are far too big, one could get lost in them"
dan |
|
Back to top |
|
 |
eswarnv |
Posted: Mon Feb 04, 2002 11:41 pm Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
hi
Can any one give me idea abt what exactly difference between Binding Mode and Client connections.
Thanks in Advance
Eswar |
|
Back to top |
|
 |
kolban |
Posted: Tue Feb 05, 2002 8:02 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
See your answer in your separate posting |
|
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
|
|
|
|