-
15. Re: jBPM in JBossESB
kukeltje Feb 21, 2007 1:31 PM (in response to estebanschifman)EstebanYep, that is exactely what I would suggest. Assuming messageProp can hold an xpath expression (or do you guys think of other property types?
I'm working on something similar to be able to call a webservice from jBPM where there is an xml document to be filled based on process variables. -
16. Re: jBPM in JBossESB
rex.sheridan Feb 21, 2007 1:36 PM (in response to estebanschifman)Esteban, that sounds good to me. It would be nice if we could control the variable name used to insert the message into the context as well.
-
17. Re: jBPM in JBossESB
estebanschifman Feb 21, 2007 1:53 PM (in response to estebanschifman)Thanks to both of you. Now give me time to cut some code and I'll let everybody know when the changes are committed.
:-) -
18. Re: jBPM in JBossESB
kukeltje Feb 22, 2007 9:57 AM (in response to estebanschifman)jBPM has the notion of actionhandlers. These can be synchronous (blocking) or asynchronous (non-blocking). Maybe we (I ?) should create a default actionhandler base class which makes it possible to call services on the bus from jBPM. Did you guys give that any thought?
-
19. Re: jBPM in JBossESB
rex.sheridan Feb 22, 2007 11:18 AM (in response to estebanschifman)Ronald,
Does org.jboss.soa.esb.actions.jbpm.BaseActionHandler address what you are talking about? -
20. Re: jBPM in JBossESB
estebanschifman Feb 22, 2007 12:16 PM (in response to estebanschifman)Latest versions of jBPM-ESB integration classes are not in the trunk, and won't be there until we are sure they won't break the build.
There is however a workspace (...workspace/eschifman) where code in progress is being held. Just keep in mind that what is there is 'work in progress' and some things still don't work as we all expect. -
21. Re: jBPM in JBossESB
bill.burke Mar 5, 2007 6:12 PM (in response to estebanschifman)Esteban,
Have you considered at all using JBPM as a backbone for the ESB? I see a lot of overlap/similarities between the core ESB engine and JBPM. Maybe ESB actions could be written as JBPM nodes or actions? For instance, take a look at the Seam Drools JBPM decision handler. Looks almost exactly the same as ESB's. ESB's split/aggragate are similar to JBPMs fork/join. Context variables are very analogous to a message map.
What are the advantages/disadvantages to using JBPM as the core process engine? Here's some I thought of off the top of my head:
Advantages:
* JBPM eclipse designer
* JBPM persistence
* JBPM asynchronicity
* versioning
* richer IoC
* parameter/context mappings
Disadvantages:
* A little extra verbose for small tasks (I think this could be overcome by writing our own node type.)
I don't know, what do you think??? In the least, we should create some JBPM adapters so that ESB actions/nodes could be used as JBPM nodes/actions. -
22. Re: jBPM in JBossESB
rex.sheridan Mar 6, 2007 8:30 AM (in response to estebanschifman)On a related note, I was wondering the other day about the following: what if someone were to implement an ESB gateway using a jBPM process. You could basically have a long running process and send it a "poll" signal at some interval. I wonder if it would be useful.
I've been thinking in jBPM mode for so long I've started finding all sorts of uses for it :) -
23. Re: jBPM in JBossESB
bill.burke Mar 6, 2007 9:40 AM (in response to estebanschifman)"rex.sheridan" wrote:
On a related note, I was wondering the other day about the following: what if someone were to implement an ESB gateway using a jBPM process. You could basically have a long running process and send it a "poll" signal at some interval. I wonder if it would be useful.
I've been thinking in jBPM mode for so long I've started finding all sorts of uses for it :)
Not only that, but you could have the ESB message be put in a wait state while it was waiting for some external system to respond. You could have timers fire off. It just seems like there's so much you could do if the two were combined into one metamodel. Combine ESB's rich component set, with JBPMs clean process model.