JBoss Community

Re: QueueConnectionFactory problem in JBoss-5.1.0.GA

created by hmusavi in JNDI and Naming - View the full discussion

Hi Mark,

 

Thank you for your reply. I did try your suggestion as well but it still would not work. I was not getting any error but it seems that the message was not being delivered. The onMessage() method of my MDB was never being called. The only way I could get it to work was to add the following to connection-factories-service.xml.

 

 

  <mbean code="org.jboss.naming.LinkRefPairService"
         name="jboss.jms:alias=QueueConnectionFactory">
    <attribute name="JndiName">QueueConnectionFactory</attribute>
    <attribute name="RemoteJndiName">ConnectionFactory</attribute>
    <attribute name="LocalJndiName">java:/JmsXA</attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>

 

Thanks,

Hamid

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community