suggest a "marshall" step to accomplish this pattern?
> >
> > Or would you place the MessageID into the camel Message body?
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713813.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
rn?
>
> Or would you place the MessageID into the camel Message body?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713813.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Would you suggest a "marshall" step to accomplish this pattern?
Or would you place the MessageID into the camel Message body?
--
View this message in context:
http://camel.465427.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713813.html
Sen
27.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713780.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Guys,
Thanks a lot for the info and the advices!
Regards,
Radoslav
--
View this message in context:
http://camel.465427.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713780.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I have next question:
> Is it possible to pass some Camel Message Headers to File Endpoint?
> Example:
> 1. I have jms topic and I set some custom headers in the message
> 2. I route from that jms topic to file endpoint
> 3. i consume the message from the file endpoint and I want to consu
Hi Radoslav,
> Is it possible to pass some Camel Message Headers to File Endpoint?
Only body of a message is saved to the file. If you want save some
metadata from headers you need to append them to the body of a
message.
You could also consider using the multicast.
from("j
> Hi,
>
> I have next question:
> Is it possible to pass some Camel Message Headers to File Endpoint?
> Example:
> 1. I have jms topic and I set some custom headers in the message
> 2. I route from that jms topic to file endpoint
> 3. i consume the message from the file endp
Hi,
I have next question:
Is it possible to pass some Camel Message Headers to File Endpoint?
Example:
1. I have jms topic and I set some custom headers in the message
2. I route from that jms topic to file endpoint
3. i consume the message from the file endpoint and I want to consume my
custom
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
last time suggested to create a custom class for our
purpose and put the meta-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-
>
lt;String, Object> header : headers.entrySet()) {
ConvertedHeader newHeaderValue =
conversionService.convert((String)header.getValue());
message.setHeader(header.getKey(), newHeaderValue);
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/c
Is it restricted only to String values (like setHeader("MY_HEADER", "string
> value"))?
> Can I store any Java object (serializable) in message header
> (setHeader("MY_HEADER", new MyNewObject()) )
>
>
> --
> View this message in context:
> ht
-
View this message in context:
http://camel.465427.n5.nabble.com/camel-message-headers-tp4406101p4406101.html
Sent from the Camel - Users mailing list archive at Nabble.com.
14 matches
Mail list logo