Hello,
I have created a simple camel route which copies messages from one JMS
queue to another. When I insert this into my activemq.xml config file it
works fine.
<cm:camelContext id="camel">
<cm:route >
<cm:from uri="jms:queue:input" />
<cm:from uri="jms:queue:output" />
</cm:route>
</cm:camelContext>
Is there a way of running this periodically, e.g. every 10 minutes?
I know i can just run it from a simple java class and a script file (using
Spring Application Context to start it up) and using cron/autosys/etc. I was
hoping to be able to do this in the activemq config as it provides a single
consistent way of handling the JMS infrastructure and message flows - i.e.
one less moving part.
Regards,
Serge
--
View this message in context:
http://www.nabble.com/Can-a-camel-route-be-run-as-a-batch-%28peridiocally%29-in-ActiveMQ-config-tp24212596p24212596.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.