[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-dev
Subject: Re: org.apache.activemq.pool.AmqJNDIPooledConnectionFactory removed?
From: Christopher Shannon <christopher.l.shannon () gmail ! com>
Date: 2015-10-21 17:47:42
Message-ID: CACHnxzzcd9zShnRU2NO7_RR6OBMnJ6ir_WJk8K_2orvKRQ1i4Q () mail ! gmail ! com
[Download RAW message or body]
Glad that worked for you, I was just about to respond to tell you I was
actually right the first time with my original response but you already
figured it out :)
org.apache.activemq.pool.PooledConnectionFactory actually extends
org.apache.activemq.jms.pool.PooledConnectionFactory and adds the
JNDIStorableInterface as you discovered. It's a bit confusing since they
are named the same thing.
On Wed, Oct 21, 2015 at 1:39 PM, Don Asper <Don.Asper@sas.com> wrote:
> org.apache.activemq.pool.PooledConnectionFactory
> works for me. It implements JNDIStorableInterface.
> org.apache.activemq.jms.pool.PooledConnectionFactory
> does not.
>
> Thank you for your help!
>
> -----Original Message-----
> From: Don Asper
> Sent: Wednesday, October 21, 2015 10:00 AM
> To: dev@activemq.apache.org
> Subject: RE: org.apache.activemq.pool.AmqJNDIPooledConnectionFactory
> removed?
>
> This is not working for me. I'm getting
> javax.naming.NameNotFoundException: "Name ... is not bound in this
> Context". AmqJNDIPooledConnectionFactory is derived from
> org.apache.activemq.pool.PooledConnectionFactory. It seems to be
> specialized to use JNDI whereas PooledConnectionFactory apparently is not.
> Are there other alternatives? Thanks.
>
> -----Original Message-----
> From: Christopher Shannon [mailto:christopher.l.shannon@gmail.com]
> Sent: Tuesday, October 20, 2015 10:56 AM
> To: dev@activemq.apache.org
> Subject: Re: org.apache.activemq.pool.AmqJNDIPooledConnectionFactory
> removed?
>
> Oops, I believe you want to use the one thats part of the jms sub package.
> Try this one instead:
>
> http://activemq.apache.org/maven/apidocs/org/apache/activemq/jms/pool/PooledConnectionFactory.html
>
> On Tue, Oct 20, 2015 at 10:52 AM, Christopher Shannon <
> christopher.l.shannon@gmail.com> wrote:
>
> > That class has been removed (as you've seen). Take a look at using this:
> > http://activemq.apache.org/maven/apidocs/org/apache/activemq/pool/Pool
> > edConnectionFactory.html
> >
> > On Tue, Oct 20, 2015 at 10:21 AM, Don Asper <Don.Asper@sas.com> wrote:
> >
> >> We're currently using ActiveMQ 5.7.0 but want to upgrade to 5.12.0.
> >> Our server.xml contains
> >>
> >> <Resource type="org.apache.activemq.pool.AmqJNDIPooledConnectionFactory"
> >> name="sas/jms/EVQueueConnectionFactory"
> >> factory="org.apache.activemq.jndi.JNDIReferenceFactory" auth="Container"
> >> useEmbeddedBroker="false" maxConnections="10" brokerURL="tcp://
> >> rdcesx08007.race.sas.com:61616"/>
> >>
> >> This works fine with ActiveMQ 5.7.0. But we can't find
> >> org.apache.activemq.pool.AmqJNDIPooledConnectionFactory in the 5.12.0
> >> distribution. Has this class been deprecated or removed? If so, is
> >> there a recommended replacement for use in ActiveMQ 5.12.0?
> >>
> >> Thanks!
> >>
> >
> >
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic