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 » workitem rollbcak.

Post new topic  Reply to topic
 workitem rollbcak. « View previous topic :: View next topic » 
Author Message
mqwhelp
PostPosted: Fri Dec 21, 2001 5:22 pm    Post subject: Reply with quote

Voyager

Joined: 20 Dec 2001
Posts: 85
Location: TCS

How to roll back work item which is created using MQ wotk item creation API (Java). If an application (EJB) is creating a wotk item uding API call, and if there is an exception within a business transaction, how this work item is deleted from MQ work item list.

This problem might arise if work item is deleted when work is completed.

Is there generic solution to control work item creation/deletion actives from application.

Can these calls be put in the scope of business transaction.

Back to top
View user's profile Send private message Send e-mail
mqwhelp
PostPosted: Mon Dec 24, 2001 10:23 am    Post subject: Reply with quote

Voyager

Joined: 20 Dec 2001
Posts: 85
Location: TCS

Thnx for prompt reply john.
Yes I mean it process instance.
I am calling createAndStartInstance() method from EJB.My Problem is that if any exception comes How can I roll back / Delete the work item which was created by that method call.As createAndStartInstance() call is done by MQWF API not under EJB Transaction Control.Can I bring this call in single transaction (i.e EJB Transaction). How can I roll back the effect of these method call.

[ This Message was edited by: mqwhelp on 2001-12-24 10:32 ]
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Wed Dec 26, 2001 7:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Unfortunately, I don't think you can. You might want to check with the IBM Developers on this, but I am pretty certain that this is NOT possible. You would have to issue the TerminateInstance call to reverse the creation of the instance.

_________________
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
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 » workitem rollbcak.
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.