Hello,
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
<route>
<from uri="activemq:queue:AX.OUT"/>
<to uri="activemq:queue:AX.IN"/>
<setBody>
<simple>UPDATE CAMEL SET CamelSentToAX=CURRENT_TIMESTAMP, statusMessage
=
statusMessage + 'B' WHERE MessageID='${in.header.MessageId}'</simple>
</setBody>
<to uri="jdbc:testdb"/>
</route>
<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}"/>
</bean>
</property>
</bean>
Thanks in advance,
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Camel-%3A-Stop-random-of-route-Camel-in-full-treatment-tp25955985p25955985.html
Sent from the Camel - Users mailing list archive at Nabble.com.