Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 97639 invoked from network); 1 Dec 2009 12:35:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Dec 2009 12:35:39 -0000 Received: (qmail 76608 invoked by uid 500); 1 Dec 2009 12:35:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 76554 invoked by uid 500); 1 Dec 2009 12:35:38 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 76544 invoked by uid 99); 1 Dec 2009 12:35:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 12:35:38 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 12:35:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NFRwm-0000Ga-8u for users@activemq.apache.org; Tue, 01 Dec 2009 04:35:12 -0800 Message-ID: <26591001.post@talk.nabble.com> Date: Tue, 1 Dec 2009 04:35:12 -0800 (PST) From: sbasani To: users@activemq.apache.org Subject: Confirm the correct usage of "connectionFactoryNames" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sreekanthbasani@gmail.com 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.