1 Reply Latest reply on May 7, 2006 2:53 PM by cotfessi

    JMS publisher subscriber

    fabrefumi

      Hello,

      I'm new in jboss,jbossIDE. I want to send messages published from a servlet and consumed by a MDB.

      I'm confused with The Xdoclet settings,

      servlet

      * @web.resource-ref
      * name="jms/MyConnectionFactory"
      * description = "description of topic Factory"
      * type="javax.jms.ConnectionFactory"
      * auth="Container"
      *
      * @jboss.resource-ref
      * res-ref-name="topic/testTopic"
      * jndi-name="topic/testTopic"


      MDB

      * @ejb.bean name="audimetroMD"
      * display-name="Name for audimetroMD"
      * description="Description for audimetroMD"
      * destination-type="javax.jms.Topic"
      * subscription-durability = "Durable"
      * acknowledge-mode="Auto-acknowledge"
      *

      I'm mixing examples and i don't find the correct way to do this,

      can someone help me?

        • 1. Re: JMS publisher subscriber
          cotfessi

          Does anyone have an answer to the above post... I understand that it's from last year, but I'm running in to the same issues... I want a to publish messages from a servlet and have them consumed by a MDB.

          I followed the JBoss Eclipse IDE Tutorial at http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html without any problems, but it's pretty basic and doesn't venture into MDBs or entity beans for that matter...

          I can't seem to find any references for the xdoclet tags within JBoss-IDE for either a MDB or a servlet that publishes... any examples out there?

          thanks in advance!