[jboss-user] [jBPM] - Exception in custom WorkItemHandler

Amin MC do-not-reply at jboss.com
Sun Jul 10 12:44:32 EDT 2011


Amin MC [http://community.jboss.org/people/aminmc] created the discussion

"Exception in custom WorkItemHandler"

To view the discussion, visit: http://community.jboss.org/message/614302#614302

--------------------------------------------------------------
Hi

Would it be possible to get some advice on what the best way to handle the following situation:

I have a graph which has a signal message event which then hits a custom service node.  If there is an exception in the service node then I want to go back to the gateway where we received the signal.  I presume in my Work Item Handler i need to make sure i call the abort on the WorkItemManager for the work item node. In my handler if i encounter a problem i never call completeWorkItem but call abort(..).  

Is there an example out there that demonstrates how to achieve this? Or if anyone could give me a pointer that would be great.


Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/614302#614302]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110710/52d1b7b1/attachment.html 


More information about the jboss-user mailing list