camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From titexe <tit...@yahoo.Fr>
Subject Camel : Stop random of route Camel in full treatment
Date Mon, 19 Oct 2009 10:20:50 GMT


I have a Camel route that makes the following actions: 
- Get messages in the queue OUT 
- Transfer these messages in the queue in 
- Update the database 

the route camel works fine, just when I get more messages, Camel stops
sometimes for 20 seconds or more, even if there's messages that are in the
queue OUT.

below my config xml

	<from uri="activemq:queue:AX.OUT"/>
	<to uri="activemq:queue:AX.IN"/>
	<simple>UPDATE CAMEL SET CamelSentToAX=CURRENT_TIMESTAMP, statusMessage =
statusMessage + 'B' WHERE MessageID='${in.header.MessageId}'</simple>
		<to uri="jdbc:testdb"/>

<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"
            <property name="userName" value="${activemq.username}"/>
            <property name="password" value="${activemq.password}"/>

Thanks in advance,

Best regards,


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

View raw message