0 Replies Latest reply on Jul 6, 2004 5:22 AM by oferbaranes

    configuring the JMS IL on MDB

    oferbaranes Newbie

      Hi ,

      I have some MDB which i want them to run with the JVM IL , how should i
      do that ?

      that's what i tried :

      on the ejb-jar.xml

       <message-driven>...
       <resource-ref>
       <res-ref-name>jms/QueueFactory</res-ref-name>
       <res-type>javax.jms.QueueConnectionFactory</res-type>
       <res-auth>Container</res-auth>
       </resource-ref>
       <message-driven>


      and on the jboss.xml:

       <jboss>
       <enterprise-beans>
       <message-driven>...
       <resource-ref>
       <res-ref-name>jms/QueueFactory</res-ref-name>
       <resource-name>My IL</resource-name>
       </resource-ref>
       </message-driven>
       </enterprise-beans>
       <resource-managers>
       <resource-manager>
       <res-name>My IL</res-name>
       <res-jndi-name>java:/ConnectionFactory</res-jndi-name>
       </resource-manager>
       </resource-managers>
       </jboss>
      


      Is that ok ? is my try to use the 'resource manager' is correct ?
      i have no way to determine if it works .

      Thanks
      ofer