camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: ActiveMQ, Camel and Spring
Date Thu, 20 Sep 2012 10:43:14 GMT
On Thu, Sep 20, 2012 at 12:18 PM, Gert de Wit <gertdewit66@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: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message