2 Replies Latest reply on Aug 15, 2006 3:06 PM by kukeltje

    JBPM 2 Wiki Bridge

    gf_public

      SORRY! I also posted this to the JBoss jBPM Forum. But its probaby better saved here.

      Hello

      I have a plan: I want to write something like a "jbpm-Plugin", that updates a wiki whenever new workflow-instances are created and finished. I don't want to implement that into the design of the workflow process. It should be something that you can plug into "any" jbpm installation, and then it starts writing to a wiki. I am writing a little Servlet for the snipsnap wiki software (www.snipsnap.org), that shall update the pages.
      My question is now: What is the best practice to have this servlet called by the jbpm.

      My first idea is JMS+MDBs. Is it possible to configure jbpm, so that it sends messages to a topic as a publisher?
      Then I would try to write my first MDB, which then calls the wiki-servlet.

      Let me tell you the versions i am using.. I don't want to change these anymore as time is passing by ...

      JBoss 4.0.2 (from the starters-kis)
      jbpm 3.1.2 (from the starters-kis)

      Thanks for any comments on my idea,
      Gregor

        • 1. Re: JBPM 2 Wiki Bridge
          gf_public

          OK, i found this queue/JbpmQueue in the configuration of the jbpm-starters-kit:

          <mbean code="org.jboss.mq.server.jmx.Queue"
           name="jboss.mq.destination:service=Queue,name=JbpmQueue">
           <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
           </mbean>


          Its not a topic, as i was looking for, but a Queue -but who cares.

          I am a J2EE newbie, but looking at the

          MBean Name:
          Domain Name: jboss.mq.destination
          service: Queue
          name: JbpmQueue
          MBean Java Class: org.jboss.mq.server.jmx.Queue

          and invoking
          java.lang.String listMessageCounterHistory()
          shows me, that there have'nt been any messages posted while i was going through the jbpm-Getting-Started Toutorial.

          Should i have expected this, as a Queue (other than a Topic) needs message receivers to do anyting?

          When are what kind of messages send by jbpm to that queue?


          Thanks for any reply,
          Gregor

          • 2. Re: JBPM 2 Wiki Bridge
            kukeltje

            Wrong forum, see post in other forum. Besides that. Do not use the jBPM queue for your own messages.