vertx-examples icon indicating copy to clipboard operation
vertx-examples copied to clipboard

added jbpm-vertx

Open prasanthatl opened this issue 2 years ago • 3 comments

Adding a new example project showcasing the use of jbpm and vertx.

prasanthatl avatar Jul 31 '21 02:07 prasanthatl

@prasanthatl thanks for the contribution, I don't understand the purpose of this example because the only thing that the verticle does is to create a process. I don't see how a verticle could interact more closely with a process, like reacting on a state change and perform a vertx action. Can you elaborate ?

vietj avatar Aug 02 '21 08:08 vietj

For example, we tried to integrate Camunda with vert.x, it was not bad at all, but on some occasions I saw that micro-locks occurred in the event bus. According to the tests that I carried out, it seems that those locks were when it required information from the database, for example, you could do a load test and the micro lock only occurred on the first request of the test.

cvillami avatar Aug 02 '21 11:08 cvillami

I have modified the example to include vertx features as well. Sender verticle will publish a message to event bus. A Jbpm verticle will receive that message and start a process by passing the message as one of the parameter to the process. The jbpm process will accept the parameter and use it in one of the steps (prints it from a process).

prasanthatl avatar Aug 10 '21 22:08 prasanthatl