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 <[email protected]> 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: [email protected] > 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:[email protected]] > Sent: Tuesday, October 20, 2015 10:56 AM > To: [email protected] > 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 < > [email protected]> 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 <[email protected]> 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! > >> > > > > >
