[jboss-user] [JNDI and Naming] - Re: JNDI lookup from JBoss embedded MQ Provider
vickyk
do-not-reply at jboss.com
Thu Aug 27 00:26:42 EDT 2009
"moonbird79" wrote :
| +- activemq (class: org.jnp.interfaces.NamingContext)
| | +- topic (class: org.jnp.interfaces.NamingContext)
| | | +- inbound (class: org.apache.activemq.command.ActiveMQTopic)
| | +- QueueConnectionFactory (class: org.apache.activemq.ra.ActiveMQConnectionFactory)
| +- stationInfoQueue (class: org.apache.activemq.command.ActiveMQQueue)
| +- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
The following call should work
ConnectionFactory factory = (ConnectionFactory) ctx.lookup("activemq/QueueConnectionFactory");
What error do you get when this is called?
Does this configuration work in JBoss4.x series?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251949#4251949
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251949
More information about the jboss-user
mailing list