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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » MQSeries Workflow Java APIs and Transactions

Post new topic  Reply to topic
 MQSeries Workflow Java APIs and Transactions « View previous topic :: View next topic » 
Author Message
stevenb2
PostPosted: Mon Dec 16, 2002 6:55 pm    Post subject: MQSeries Workflow Java APIs and Transactions Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Tue Dec 17, 2002 5:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
amittalekar
PostPosted: Tue Dec 17, 2002 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » MQSeries Workflow Java APIs and Transactions
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.