[jboss-user] [JNDI and Naming] - Re: QueueConnectionFactory problem in JBoss-5.1.0.GA

Mark Paluch do-not-reply at jboss.com
Mon May 23 15:10:13 EDT 2011


Mark Paluch [http://community.jboss.org/people/mp911de] created the discussion

"Re: QueueConnectionFactory problem in JBoss-5.1.0.GA"

To view the discussion, visit: http://community.jboss.org/message/606609#606609

--------------------------------------------------------------
Hi there, 
the JNDI-View shows your registered EJB structure. By default, the JBoss 5 Connection Factories have following mappings:

            <binding>/ConnectionFactory</binding>
            <binding>/XAConnectionFactory</binding>
            <binding>java:/ConnectionFactory</binding>
            <binding>java:/XAConnectionFactory</binding>
(see connection-factories-service.xml)

so @Resource(mappedName="/ConnectionFactory")
private ConnectionFactory connectionFactory;

should work.

Best regards, 
Mark
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/606609#606609]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110523/a2dccd59/attachment.html 


More information about the jboss-user mailing list