2 Replies Latest reply on Jul 5, 2010 4:32 AM by kconner

    JBPM on JbossESB 4.8 SignalCommand

    baseman2

      We have a systems that send JMS's to ESB. One system can start process instance, than other system need to move from first state to second, other system move process from second state to third and etc. I don't see SignalCommand for moving from one state to other. "Node" don't stay inside itself and goes to other node, as I understand. May be we can use TaskNode instead of State, but we dont need human activity. Only JMS can move one state to other.

       

      Please answer, how we can resolve this problem without SignalCommand.

       

      P.S. I created patch with SignalCommand, but I think that it is not good solution.

        • 1. Re: JBPM on JbossESB 4.8 SignalCommand
          camunda

          Hi Vasili.


          Search for the JbpmCallback, he basically does what you need (if you have all correlation properties still on the ESB message). Best is to use this and maybe have an additional action setting the properties if yoiu "lost" them.

           

          But the whole integration is not powerful enough and serves only the basic correlation use cases, so in real projects we always had to extend the machinsms there (and by now I think it would be easier to rewrite the jBPM/ESB integration completly ;-)).

           

          Cheers

          Bernd

          • 2. Re: JBPM on JbossESB 4.8 SignalCommand
            kconner

            Unfortunately direct use of the signal command within jBPM 3 will fail very quickly once you move away from the simple scenarios, which is why we jump through those hoops.  This was fed back to the jBPM team and they are supposed to be addressing this.

             

            The present integration focusses on interactions between ESB services and jBPM, forcing a 'one time only' execution of the signal.  The EPR contains additional information necessary to enforce that guarantee, i.e. one request and one response.

             

            I would be interested to hear about any other scenarios you are facing, especially those in which you feel the integration falls short.  What additional integration features have you had to add?  What were the reasons behind those?

             

            Kev