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!
>>
>
>

Reply via email to