Re: returning xml file content as response

2012-08-16 Thread javakurious
-- View this message in context: http://camel.465427.n5.nabble.com/returning-xml-file-content-as-response-tp5717284p5717560.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: returning xml file content as response

2012-08-15 Thread Henryk Konsek
Hi, > In my camel config, I am trying to handle exception be returning a static > xml response, indicating that there was an error. If the response is static indeed, you can use Java DSL and set the body to constant value. from("direct:invalidCredentialQueue"). setBody(constant(MyMessageUtil.get

Re: returning xml file content as response

2012-08-13 Thread Claus Ibsen
content enricher to enrich the message with the content from the XML file http://camel.apache.org/content-enricher.html And in your use-case, you need to use the pollEnrich to poll the content from the file. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/

returning xml file content as response

2012-08-13 Thread javakurious
want to return content of a static xml file. How can I do that ? Thanks for any help. -- View this message in context: http://camel.465427.n5.nabble.com/returning-xml-file-content-as-response-tp5717284.html Sent from the Camel - Users mailing list