Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

ActiveMQ Jencks pool configuration

$
0
0
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橪;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橪;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?

Viewing all articles
Browse latest Browse all 5648

Trending Articles