Hi,

Is Jencks still the preferred method of pooling connections for Spring's
JmsTemplate? The jencks.org site is dead and gone, and the codehaus site
seems a bit stale so it's hard to gauge if this is still being used and/or
maintained.

Also, it appears that Mule uses the ActiveMQConnectionFactory but does it's
own thread pooling on top of this. Can anyone confirm that this is correct
and it is the preferred method? XML configs I'm using are listed below.

thanks,

chetan


Spring:

    <bean id="jmsConnectionFactory"
class="org.jencks.amqpool.PooledConnectionFactory">
        <constructor-arg value="${jms.broker.url}" />
    </bean>

    <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
        <property name="connectionFactory">
            <ref local="jmsConnectionFactory" />
        </property>
    </bean>

Mule:

    <jms:activemq-connector name="jmsConnector"
        brokerURL="${jms.broker.url}"
        honorQosHeaders="true"
        disableTemporaryReplyToDestinations="true"
        specification="1.1">

    </jms:activemq-connector>

Reply via email to