How to integrate JMS with JBPM

1,006 views
Skip to first unread message

sangram konde

unread,
Jun 28, 2016, 12:33:51 AM6/28/16
to jBPM Development
 Hello all,

   I want to implement JMS (any like RabbitMQ, ActiveMQ....) in JBPM.
   We are calling JBPM workflow from REST APIs.
   Basically when we do the API request for the workflow then it will have a queue for the workflow request on JBPM side. 
   I am also googling it but not getting the proper solutions.

   If anybody has worked on the same then please provide the suggestion for this. It will be very helpful.



   Thanks in advance!!!

Maciej Swiderski

unread,
Jun 28, 2016, 1:47:48 AM6/28/16
to sangram konde, jBPM Development
could you elaborate more on what you need JMS for? Would you like to call jBPM over JMS instead of REST or you want to use JMS from within the process

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-developme...@googlegroups.com.
To post to this group, send email to jbpm-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-development/e4c1fc0f-3d02-4cde-9598-32f98e3e7e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sangram konde

unread,
Jun 28, 2016, 5:47:20 AM6/28/16
to jBPM Development, sangra...@gmail.com
OK....
        The current flow is..  
There are different workflows with respective to different APIs.
We have a java client in our API to call JBPM workflow which is deployed on JBPM server.
If we hit multiple request for the workflow using REST API then workflow runs simultaneously ( or asynchronously).

We don't want that functionality. 

What we need is that if we hit multiple request for workflow( may be different or same workflow ) then it should go into the queue and then it will run one by one
So, my requirement is to implement a queue using any JMS which will add request to the queue for consumer.
And I guess this functionality will reside and should be implemented on JBPM side itself.

It should be synchronous that means it will not go for the second request until and unless first request gets success.

As per my understanding ...
  Producer    - REST API
  Queue       - JMS queue (should be in JBPM)
  Consumer  - JBPM/Any other technologies.


Please guide me If I am in wrong direction.


Thanks,

Song Choe

unread,
Sep 15, 2017, 11:29:02 PM9/15/17
to jBPM Development
darn.  I am on the same situation.  Did you get a solution?

Maciej Swiderski

unread,
Sep 18, 2017, 4:50:33 AM9/18/17
to Song Choe, jBPM Development
such feature is out of the box available with KIE Server JMS support. Execution server (aka kie server) can be accessed via REST or JMS. See docs for more details.

Maciej

Kamlesh Shah

unread,
Apr 14, 2019, 11:15:58 AM4/14/19
to jBPM Development
As I understand from your post, you are looking for sequential execution like iteration. There is no control over sequence in JMS, as the purpose is message delivery. You may use multi task with sequential type.There are three types - parallel, sequential and looping. I hope you have list object to hold the iterative data. For proper assertion, need more details.

Kamlesh
Reply all
Reply to author
Forward
0 new messages