camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiunjiunma <>
Subject any tried using transacted activemq on ec2?
Date Tue, 06 Nov 2012 04:48:51 GMT
    I am using camel with JMS transaction on. When I ran my test with a
local activemq, it works fine. However, when I switched it to an activemq on
ec2, no message is delivered and the test just hang. However, if I don't use
a transacted JMS component, the EC2 activemq also works fine. I am wondering
if anyone had tried to use camel to connect to a activemq on ec2 with
transacted connection and if there's anything special I need to set. Your
help is really appreciated.


Snippet of my camel configuration below:

    <bean id="jmsConnectionFactory"
        <property name="brokerURL" value="${activeMQBrokerURL}"/>

    <bean id="pooledConnectionFactory"
init-method="start" destroy-method="stop">
        <property name="maxConnections" value="8" />
        <property name="connectionFactory" ref="jmsConnectionFactory" />

    <bean id="transactionManager"
        <property name="connectionFactory" ref="pooledConnectionFactory"/>

    <bean id="activemq"
        <property name="transacted" value="true"/>
        <property name="transactionManager" ref="transactionManager"/>
        <property name="concurrentConsumers" value="5"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message