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: Preserving Exchange Header
Date Sat, 01 Oct 2011 08:06:48 GMT
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 <ichsan@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: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message