3 Replies Latest reply on Mar 18, 2011 8:36 AM by Tom Cunningham

    Jboss Soa

    javaprog Newbie

      I am trying to work on Red Hat JBoss SOA Platform which has jbpm bundled in it.

      I was trying to figure out how can we process state values and  get response back from JBPM to standalone java program or jruby application

        • 1. Jboss Soa
          Tom Cunningham Master

          Does this scenario involve JBoss ESB?    For getting a response back to JBoss ESB, I'd take a look at the bpm_orchestration4 quickstart and section 5.6 of the Services Guide.

           

          If this scenario does not involve ESB, you may want to pose your questions to the jbpm forum or if you have a support contract (you mentioned you are working with the SOA Platform) you may want to run a support case through.

          • 2. Re: Jboss Soa
            javaprog Newbie

            Yes this does involve Jboss ESB.Ok here is the scenario

            I am sending a JMS message from my jruby program to the queue on jboss esb which starts the jbpm .

            Now I need to get the response back from ESB to my external jruby program .The response would be ESB message.Also I need to keep track of the process states so that next time I should be able to resume my process where I left from external jruby application.

            Is there any way for doing this ?

            • 3. Jboss Soa
              Tom Cunningham Master

              You could look at ServiceInvoker.deliverSync, though I'm not sure it would work in this situation.       Maybe you could look at the ESB notifying a queue or a database table or a file and then do some polling within your JRuby app?