Hi

See the JMS page about JMS spec. implications for sending headers
http://camel.apache.org/jms

But generally headers is preserved.


On Sat, Oct 1, 2011 at 6:39 AM, Muhammad Ichsan <ich...@gmail.com> wrote:
> I want to preserve headers of Exchange when sending to other queue. Is
> it possible?
>
>
> public void receiveAndForward(Exchange x) {
>    timer.schedule(new TimerTask() { sendTo(x, "otherQ"); }, 3000);
> }
>
> So that I can read headers of x in the following route
>
> <route>
>    <from uri="amq:otherQ" />
>    <.... read x header />
> </route>
>
> --
> ~The best men are men who benefit to others
> http://michsan.web.id 一緒に勉強しましょう!
>
> Yang berkualitas memang beda rasanya!
> http://rizqi-cookies.com
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to