the JNDI-View shows your registered EJB structure. By default, the JBoss 5 Connection Factories have following mappings:
private ConnectionFactory connectionFactory;
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>