You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sarfaraj <sa...@gmail.com> on 2012/08/01 12:53:49 UTC

Re: Need help on setHeader

One thought....


Does camel/servicemix provide defining and accessing variables in route? If
yes, can I use that approach?

How do they work in multithreaded environment. E.g. in splitter splitted
msgs will get executed in parallel. i.e. if they are static then they won’t
work in my use case.

Can someone help?

	
/Sarfaraj



--
View this message in context: http://camel.465427.n5.nabble.com/Need-help-on-setHeader-tp5716637p5716658.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need help on setHeader

Posted by Christian Müller <ch...@gmail.com>.
Yes.
If you have to be statefull, put the state into the exchange (properties,
message header). They are NOT only available until the next processor, if
you do it right.

Christian

Sent from a mobile device
Am 01.08.2012 14:56 schrieb "sarfaraj" <sa...@gmail.com>:

>
> One thought....
>
>
> Does camel/servicemix provide defining and accessing variables in route? If
> yes, can I use that approach?
>
> How do they work in multithreaded environment. E.g. in splitter splitted
> msgs will get executed in parallel. i.e. if they are static then they won’t
> work in my use case.
>
> Can someone help?
>
>
> /Sarfaraj
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Need-help-on-setHeader-tp5716637p5716658.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>