"rex.sheridan" wrote : One idea that could be helpful for the jBPM user is to
insert the ESB message (or just the body of the message) into the ContextInstance. That
way the workflow could have easy access to the data.
I think this is a very good point. The quickstart/examples should at least illustrate how
an ESB message can be broken down into context instance variables so they are available to
the EL in jBPM (decision nodes, task assignments, etc.) By default we can push the whole
message in as a single instance variable for "free" meaning no work on by the
user (you the ESB programmer).
The Message could be pushed through a transformation action and returned as POJOs (see the
transform_XML2POJO) and you can then use a custom action to load those POJOs into instance
variables for jBPM.
We also need a known message header property to store the token id for correlation
purposes.
Thanks Rex!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019060#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...