Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71232 invoked from network); 11 Apr 2007 19:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2007 19:34:40 -0000 Received: (qmail 57023 invoked by uid 500); 11 Apr 2007 19:34:45 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 57004 invoked by uid 500); 11 Apr 2007 19:34:45 -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 56995 invoked by uid 99); 11 Apr 2007 19:34:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 12:34:45 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.236 as permitted sender) Received: from [66.249.82.236] (HELO wx-out-0506.google.com) (66.249.82.236) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 12:34:38 -0700 Received: by wx-out-0506.google.com with SMTP id h29so313634wxd for ; Wed, 11 Apr 2007 12:34:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BFe0gY+sGcQ5pVfk75KJZm4L/28+AZ3X8mKsI8eSPNAjxqQII6JVvk2kvQWy/Q2HP7GcmoLZeJgF9+3ZZo13Zg5L0p+mFcLjWmRhTMNUCaAjBSWfsVpI5YDv4B332qlZGmfE3w6H4d278Kt5R+IDOXcc/gVjbHy6rgM5g7JOsJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EpgpZxtyeMRqXGZJYNHbijQjq9XOABjqFSBejoGKD1jaQu+nnTM8UGWBhSKK30zMHrSbAXBRk71J8bgLvjXVJHH3rQCYxg0j94oUKTmQ28n4TKdXKD7SoziEvZ2OPB9y+Ae00Nj3rKcuifHsjhREyk7FawnyPy+f3gLjfx1GKEs= Received: by 10.90.56.14 with SMTP id e14mr1086212aga.1176320057482; Wed, 11 Apr 2007 12:34:17 -0700 (PDT) Received: by 10.90.105.4 with HTTP; Wed, 11 Apr 2007 12:34:17 -0700 (PDT) Message-ID: Date: Wed, 11 Apr 2007 20:34:17 +0100 From: "James Strachan" To: users@activemq.apache.org Subject: Re: JBoss integration and lookup of connection factories. In-Reply-To: <9922505.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8513200.post@talk.nabble.com> <8518676.post@talk.nabble.com> <8562461.post@talk.nabble.com> <9896459.post@talk.nabble.com> <9918134.post@talk.nabble.com> <9922505.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 4/10/07, wallace wrote: > > Thanks for response. > > This works for me too. But it is a very big limitation to require the client > to hard code the physical queue name (in your example, example.MyQueue). It > defeats the purpose of jndi. The properties file can be put in the jndi.properties on the classpath as mentioned in the documentation; so there's no need to use the actual physical queue names in your Java code if you want. http://activemq.apache.org/jndi-support.html -- James ------- http://radio.weblogs.com/0112098/