[jboss-user] [jBPM] - Re: A question on the external event using event Correlation

Mauricio Salatino do-not-reply at jboss.com
Thu Mar 10 11:25:23 EST 2011

Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: A question on the external event using event Correlation"

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

Hi, basically you have two different things to solve, one is about how to locate the correspondant session and the other is how to choose the right process to notify the event right?

For locating the right process to signal and to restore the right session we usualy implement a business layer that store a business key and information about your workitem or processid.
Take a look at the following example, using that layer you can also map a JMS message to a specific event or workitem to complete. I think that you can use the same approach provided in the example.
Example:  https://github.com/Salaboy/Drools_jBPM5-Training-Examples/tree/master/jbpm5/03-jBPM5-SimpleEmergencyServiceProcessAsyncWorkItemsExamples https://github.com/Salaboy/Drools_jBPM5-Training-Examples/tree/master/jbpm5/03-jBPM5-SimpleEmergencyServiceProcessAsyncWorkItemsExamples

Hope it helps!

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110310/b0f15f39/attachment-0001.html 

More information about the jboss-user mailing list