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

    JMS publisher subscriber

    jordi fabregat Newbie

      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?