activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From magellings <mark.gelli...@qg.com>
Subject Re: camel delayer with transaction/reliablity
Date Thu, 25 Feb 2010 16:29:18 GMT

got this one figured out...

just add the transacted = true property.  must default to auto or client
acknowledgement...this sets it to a transactional session.

<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent" >
     <property name="connectionFactory">
       <bean class="org.apache.activemq.ActiveMQConnectionFactory">
         <property name="brokerURL"
value="vm://localhost?create=false&amp;waitForStart=10000" />
         <property name="userName" value="${activemq.username}"/>
         <property name="password" value="${activemq.password}"/>
       </bean>
     </property>
     <property name="transacted" value="true"/>
   </bean>

there's actually a lot of properties I'm assuming can be set...albeit
haven't tested any other ones.

http://camel.apache.org/maven/camel-jms/apidocs/org/apache/camel/component/jms/JmsComponent.html
-- 
View this message in context: http://old.nabble.com/camel-delayer-with-transaction-reliablity-tp27714449p27714471.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message