You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by 0lena <el...@mail.ru> on 2013/08/14 15:06:49 UTC

ActiveMQ Jencks pool configuration

I use ActiveMQ 5.9, and have some problems with Jencks AMQPool connection
factory configuration.

1)When using Spring configuration it's all ok: 
<bean id="jmsConnectionFactory"
class="org.jencks.amqpool.PooledConnectionFactory">
	<constructor-arg value="vm://localhost?create=false&amp;waitForStart=10000"
/>
	<property name="maxConnections" value="8" />
</bean>	

2) But I need to use configuration with XBean, and it doesn't work:
<pool id="jmsConnectionFactory" xmlns="http://jencks.org/amqpool/2.0"
        brokerURL="vm://localhost?create=false&amp;waitForStart=10000"
        maxConnections="8"/>

But when I write absolute path to jencks-amqpool-2.0.jar then it also work.
I suppose that it is because ActiveMQ can't find xsd file, but
jencks-amqpool-2.0.jar  is in classpath.

Can anybody help me to understand the reason of such situation?

--
I'm sorry for my poor English. And thank you for reply.



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Jencks-pool-configuration-tp4670366.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.