Great that you figured it out by yourself! ;)

Regards,
Raúl.

On Mar 5, 2013, at 09:16, Alban Joly wrote:

> My question was stupid ... sorry
> 
> 
> I used the pipeline functionnality to modify the body of my request after
> posting in the ActiveMQ and it works!
> ...
> <inOnly uri="activemq:queue:XXX" />
>                                       
> <when>
>       <simple>${header.accept} contains 'application/json'</simple>
>       <camel:setBody >
>       <camel:constant>{{module.publication.mq.json.success}}</camel:constant>
>       </camel:setBody>
> </when>
> ...
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/SOLVED-ActiveMQ-Request-Reply-tp5728478p5728557.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to