Return-Path: X-Original-To: apmail-tomee-users-archive@www.apache.org Delivered-To: apmail-tomee-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEEE710BCD for ; Wed, 9 Oct 2013 06:38:06 +0000 (UTC) Received: (qmail 37657 invoked by uid 500); 9 Oct 2013 06:38:05 -0000 Delivered-To: apmail-tomee-users-archive@tomee.apache.org Received: (qmail 37594 invoked by uid 500); 9 Oct 2013 06:38:00 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 37582 invoked by uid 99); 9 Oct 2013 06:37:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 06:37:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 06:37:53 +0000 Received: by mail-ie0-f170.google.com with SMTP id x13so849542ief.1 for ; Tue, 08 Oct 2013 23:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jGb54M2MzNY3PYcaH0aXG/KX5Bo8DnFri/frnfXK03U=; b=vbfcGxUto10oxTUaefAws0q0JCoQ0QuaFvV7VLYS4HeXNQTqRHPNp9dnUJOBg/v76J rkNLiVwt1Ed4X8jtC9BPEq4qyqiJ8iY0zNhvOrdFLe3eXZWknuwy1G6sAniJwbepxigL xp+l56q9bPwdrIqvs1vRs0zx38ng6jQoFORh+ciASoDZ56xBLO7PJ6XASyW8L0Kj6jXI 3e1qfTuh/NBOca4BM9ijhaEu+LYA6KRc4XuxEd5QI82JC/xCT3gd3YcCp6oIMXbQ3a+W FM+je4VhyoSHRu7ta717VOeJBDvQkvq3ocYGKsuvVnZwnhcF1Y8buZG9HePQOhXZVURy iApg== X-Received: by 10.42.156.69 with SMTP id y5mr3824034icw.18.1381300652632; Tue, 08 Oct 2013 23:37:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.252.66 with HTTP; Tue, 8 Oct 2013 23:37:12 -0700 (PDT) In-Reply-To: <40D1C31DE509F444A458094468638CD95C71478E@Exchange01.rmtp.rmt.com.au> References: <40D1C31DE509F444A458094468638CD95C7136F7@Exchange01.rmtp.rmt.com.au> <40D1C31DE509F444A458094468638CD95C714774@Exchange01.rmtp.rmt.com.au> <40D1C31DE509F444A458094468638CD95C71478E@Exchange01.rmtp.rmt.com.au> From: Romain Manni-Bucau Date: Wed, 9 Oct 2013 08:37:12 +0200 Message-ID: Subject: Re: JMS Queues auto-linking to beans that don't need them To: "users@tomee.apache.org" Content-Type: multipart/alternative; boundary=90e6ba6e81daba964c04e8491e6e X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e81daba964c04e8491e6e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable use openejb/Resource name instead of shortname? *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/10/9 Adam Steen > So if everything seems ok, is there a way to turn off auto-linking of the > queues? > > -----Original Message----- > From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com] > Sent: Wednesday, 9 October 2013 1:28 PM > To: users@tomee.apache.org > Subject: RE: JMS Queues auto-linking to beans that don't need them > > Hmm, sounds ok since openejb/Resource is our internal prefix for queues. > > Do you have any issue? > Le 9 oct. 2013 07:23, "Adam Steen" a =E9crit : > > > Hi Romain > > > > None of the beans reference the queue using a @Resource. > > > > Not sure I follow what you mean by "same in xml"? but I specify all my > > resources in the resources.xml file. The queue as specified as follows > > > > > type=3D"javax.jms.ConnectionFactory"> > > > > > > > > > > > > > > > > > > The MDBeans reference the queues via an "activation-config-property" > > > > > > > > destination > ty-name> > > > > > FPeJobs/MailQueue > > > > > > Cheers > > Adam > > > > -----Original Message----- > > From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com] > > Sent: Wednesday, 9 October 2013 12:47 PM > > To: users@tomee.apache.org > > Subject: Re: JMS Queues auto-linking to beans that don't need them > > > > Hi > > > > You dont use @Resource or same in xml? > > Le 9 oct. 2013 04:34, "Adam Steen" a =E9crit : > > > > > Hi > > > > > > When we start up our app recently ported to Tomee, we get the > > > following information in our log repeated for all the beans we have, > > > but > > > > > > 2013-10-09 10:26:00 INFO org.apache.openejb.config.AutoConfig > > > processResourceRef Auto-linking resource-ref > > > 'openejb/Resource/FPeJobs/TaskQueue' in bean UtilityServiceBean to > > > Resource(id=3DFPeJobs/TaskQueue) > > > 2013-10-09 10:26:00 INFO org.apache.openejb.config.AutoConfig > > > processResourceRef Auto-linking resource-ref > > > 'openejb/Resource/FPeJobs/MailQueue' in bean UtilityServiceBean to > > > Resource(id=3DFPeJobs/MailQueue) > > > > > > But none of our beans require access to the queue, they are looked > > > up elsewhere, is there a way to turn off auto-linking of the queues? > > > > > > Cheers > > > Adam > > > > > > --90e6ba6e81daba964c04e8491e6e--