On Thu, Sep 20, 2012 at 12:18 PM, Gert de Wit <gertdewi...@gmail.com> wrote:
> Using camel-jms now, but not clear to me how to access the message-headers
> and body from Spring. Can someone some light on this ?
>

Yes I did. I referred you to this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html


>        <route>
>             <description>exec test</description>
>             <from uri="jms:queue:TEST.EXEC"/>
>             <to
> uri="exec:///tmp/mytest?args=@Body&amp;outFile=/tmp/myoutput&amp;workingDir=/tmp&amp;useStderrOnEmptyStdout=true&amp;timeout=5"/>
>         </route>
> Thanks



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to