Open prasanthatl opened 3 years ago
@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 ?
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.
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).
Adding a new example project showcasing the use of jbpm and vertx.