ta-data into fields, along with the message body.
What are the downsides of using Camel message headers?
Are they not guaranteed to be kept intact while en route?
Cheers,
Johannes
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: 18 May 2011 12:15
To: users@camel.ap
; From: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Sent: 18 May 2011 12:15
> To: users@camel.apache.org
> Subject: Re: camel message headers
>
> Yep you can store anything you like. The type is java.lang.Object.
>
> If you use the DSL you can do
>
> .setHeader(
I am not using DSL in this case, i am setting headers in bean. But headers
are not set...
in route configuration i have
And in java:
public void processHeaders(Message message) {
Map headers = message.getHeaders();
for (Map.Entry
Yep you can store anything you like. The type is java.lang.Object.
If you use the DSL you can do
.setHeader("myHeader", constant(new MyObject())). ...
On Wed, May 18, 2011 at 12:10 PM, tnk wrote:
> Hi,
>
> what values can be stored in message headers (using camel 2.6)?
> Is it restricted only