[jboss-user] [jBPM] - Re: jbpm5 transaction commit
Franklin Antony
do-not-reply at jboss.com
Thu Jul 21 03:37:25 EDT 2011
Franklin Antony [http://community.jboss.org/people/frankee787] created the discussion
"Re: jbpm5 transaction commit"
To view the discussion, visit: http://community.jboss.org/message/616596#616596
--------------------------------------------------------------
Dear Tang,
Thanks for the response
I still am not able to get it correctly.
My application uses the the following to create a client.
client = new TaskClient(new MinaTaskClientConnector("client", new MinaTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));
In a situation like the following
1)I insert into my database(Flight ticket booking : business specific data)
2)I call client.addTask(task, null, addTaskResponseHandler) (to create a task in jBPM)
3)I update my database saying the task has been created sucessfully in jBPM
How can I ensure steps 1 - 3 are in one transaction?
I hope my questions is clear now ?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/616596#616596]
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/20110721/d6b57957/attachment.html
More information about the jboss-user
mailing list