use openejb/Resource name instead of shortname?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/10/9 Adam Steen <ad...@rmt.com.au>

> So if everything seems ok, is there a way to turn off auto-linking of the
> queues?
>
> -----Original Message-----
> From: Romain Manni-Bucau [mailto:rmannibu...@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" <ad...@rmt.com.au> a écrit :
>
> > 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
> >
> >     <Resource id="jms/myConnectionFactory"
> > type="javax.jms.ConnectionFactory">
> >     </Resource>
> >
> >     <Resource id="FPeJobs/MailQueue" type="javax.jms.Queue">
> >     </Resource>
> >
> >     <Resource id="FPeJobs/TaskQueue" type="javax.jms.Queue">
> >     </Resource>
> >
> > The MDBeans reference the queues via an "activation-config-property"
> >
> >     <activation-config-property>
> >
> > <activation-config-property-name>destination</activation-config-proper
> > ty-name>
> >
> >
> <activation-config-property-value>FPeJobs/MailQueue</activation-config-property-value>
> >     </activation-config-property>
> >
> > Cheers
> > Adam
> >
> > -----Original Message-----
> > From: Romain Manni-Bucau [mailto:rmannibu...@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" <ad...@rmt.com.au> a écrit :
> >
> > > 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=FPeJobs/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=FPeJobs/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
> > >
> >
>

Reply via email to