Actually activemq-camel and camel-exec don't work well together because of a TypeConverter in activemq-camel. It does work with with camel-jms though, I'd recommend using that.

Cheers,
Hadrian

On 09/19/2012 10:32 AM, Gert de Wit wrote:
Hi all,

Would like to access the ActiveMQ message-headers and body from within
Camel, to do something like

         <route>
             <description>exec test</description>
             <from uri="activemq:TEST.EXEC"/>
             <to uri="exec:///tmp/mytest?args=AMQHEADERS.message-id
AMQBODY&amp;outFile=/tmp/mytest.out&amp;workingDir=/tmp&amp;useStderrOnEmptyStdout=true&amp;timeout=5"/>
         </route>

For a number of reasons, would like to use Spring. Possible, or not ? And
if so, how ?

Can't find any examples, unfortunately.

Thanks
Gert

Reply via email to