1 Reply Latest reply on Sep 17, 2008 5:56 PM by Ronald van Kuijk

    listeners for external events

    sergmesh Newbie

      Dear All,

      for the project I'm doing right now I need to move from state A to state B after receiving JMS message.

      is there any way to make a listener for the messages that come into the system in the process definition?

      Thanks
      Sergey

        • 1. Re: listeners for external events
          Ronald van Kuijk Master

          depends... is the receiving of te message a response to something initiated in jBPM or not. If the latter is the case, you can use asynchronous continuations. Otherwise write a simple mdb that signals the state to transition.

          The reason this is not provided out of the box is that there are so many different usecases that we do not want to support a few of them and give the users the impression we want to enforce those.