Use templating instead, in Camel, among the components available in Camel,
try Velocity:
http://camel.apache.org/velocity.html


titexe wrote:
> 
> Hello,
> 
> I want to generate an XML File based on the fiels of the header of Message
> and the body of message.
> 
> An example of the file that i want to generate :
> 
> <Header>
> <foo>${in.header.foo}</foo>
> </Header>
> <Body>
> ${in.body}
> </Body>
> 
> the problem, when i put this text into field <simple>, i receive an error.
> 
> Any ideas?
> 
> Thanks in advance
> 

-- 
View this message in context: 
http://old.nabble.com/Camel-%3A-Genrating-XML-FILE-from-the-message-tp26830904p26831272.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to