Re: Passing Camel Message Headers to File Endpoint

2012-06-01 Thread James Carman
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. > > >

Re: Passing Camel Message Headers to File Endpoint

2012-05-31 Thread Christian Müller
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. >

Re: Passing Camel Message Headers to File Endpoint

2012-05-31 Thread MichaelAtSAG
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

Re: Passing Camel Message Headers to File Endpoint

2012-05-31 Thread Björn Bength
27.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713780.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Passing Camel Message Headers to File Endpoint

2012-05-31 Thread RadoslavStoyanov
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.

Re: Passing Camel Message Headers to File Endpoint

2012-05-30 Thread Christian Müller
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

Re: Passing Camel Message Headers to File Endpoint

2012-05-30 Thread Henryk Konsek
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

Re: Passing Camel Message Headers to File Endpoint

2012-05-30 Thread Christian Müller
> 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

Passing Camel Message Headers to File Endpoint

2012-05-30 Thread RadoslavStoyanov
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

Re: camel message headers

2011-05-18 Thread Claus Straube
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

RE: camel message headers

2011-05-18 Thread Klug, Johannes
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- >

Re: camel message headers

2011-05-18 Thread tnk
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

Re: camel message headers

2011-05-18 Thread Claus Ibsen
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

camel message headers

2011-05-18 Thread tnk
- 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.