Hi,

I am new to ActiveMQ, I have gone through
http://activemq.apache.org/jndi-support.html and and gone through the
"Example Java code".

First they specified 
"connectionFactoryNames = connectionFactory, queueConnectionFactory,
topicConnectionFactry"
in jndi.properties. In this case as per the jndi key is
"connectionFactoryNames" and value is "connectionFactory,
queueConnectionFactory, topicConnectionFactry".

But in "Example Java code" looking for "ConnectionFactory". Here
"ConnectionFactory" is value in jndi.properties it's not a key. But example
program and everything working fine.

connectionFactory =
(ConnectionFactory)jndiContext.lookup("ConnectionFactory");

Please let me know... what is the logic here????

Thanks.
-- 
View this message in context: 
http://old.nabble.com/Confirm-the-correct-usage-of-%22connectionFactoryNames%22-tp26591001p26591001.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to