|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries Workflow Java APIs and Transactions |
« View previous topic :: View next topic » |
Author |
Message
|
stevenb2 |
Posted: Mon Dec 16, 2002 6:55 pm Post subject: MQSeries Workflow Java APIs and Transactions |
|
|
Newbie
Joined: 16 Dec 2002 Posts: 1
|
The MQ WF Java API provides a finish() method to complete a work item. I would like to know if finish() can be part of an application's unit of work. Further can any MQ WF Java API be part of a unit of work?
Example:
If I want to finish a work item and update the application's data base in a single unit-of-work, can I do this using the Java APIs? This would be useful to keep the MQ WF Business Process and the application data in sync. |
|
Back to top |
|
 |
jmac |
Posted: Tue Dec 17, 2002 5:21 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Steven:
Based on my understanding of MQWF, it only cares about its own database. I.E. application database calls are not transacted. Here I am talking about an ActivityImplementation. If, on the other hand, you are writing a UPES, you can control the transaction yourself.
This question would probably best be answered by one of the MQWF Developers, you might want to post it to the IBM mqwf newsgroup. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
amittalekar |
Posted: Tue Dec 17, 2002 6:02 am Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
MQ WF java API does't participate in transactions....once done is done...there is no way to revert back using java API....
What best u can do is....always keep WF Java API call last in the transaction. So if this call fails entire thing can be rolled back.
As Jmac said u can cotrol transactions if u are using UPES. |
|
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
|
|
|
|