4 Replies Latest reply on Mar 16, 2011 11:51 AM by sasir

    jBPM5 - JMS integration

    sasir

      We are planning to use JBPM5 for our project where in we are expecting to read messages from the queue and then start the workflow. How can this be acheived using jBPM. Can anyone share the snippets or give thoughts on this??

        • 1. jBPM5 - JMS integration
          salaboy21

          Hi There..

          jBPM is agnostic from JMS. You can read your JMS messages as you usually do it and then start a process from them.

          What kind of use case do you have?

          Greetings.

          • 2. jBPM5 - JMS integration
            sasir

            Whenever there is an exception in regular processing, the XML message will be posted in the queue. Workflow is expected to read the messages from the queue and assign it to the specific team.

             

            Can this be implemented using jBPM?

            • 3. jBPM5 - JMS integration
              salaboy21

              Totally,

              You can start a process each time that you get a message in the error queue. Is that what you are looking for?

              Until that point the only relation between jBPM and JMS is the start process. So you can get the message from the Queue using java code and then start a process normal.

              Greetings.

              1 of 1 people found this helpful
              • 4. jBPM5 - JMS integration
                sasir

                Yes, thats the scenario I am looking for.

                 

                So you are sayign i can just write a normal JMS listener and can start the process from there and pass the required parameters. Also, Can Message Event or any service task be used here in any way?