activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Sarva <che...@milabra.com>
Subject Connection pooling from Spring & Mule
Date Sun, 31 May 2009 18:06:17 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message