Hi Yes the servlet component can support any kind of data the servlet container can handle. eg that is HTTP. Usually the caller sets the "Content-Type" header with a value of "text/xml" to tell you that the http body is xml based.
On Wed, Mar 27, 2013 at 9:06 AM, yogu13 <yogesh....@synechron.com> wrote: > Hi,Wanted to know if i can use Camel-Servlet to consume a HTTP message having > content type as "text/xml" within which the payload has an xml ...my route > configuration is as a below > the HTTP request when > intercepted looks as followsPOST /sampleMessageHandler/camel/CamelServlet > HTTP/1.1Connection: closeContent-Type: text/xmlContent-Length: 145Host: > localhost:9000User-Agent: Apache-HttpClient/4.2.3 (java 1.5)<?xml > version="1.0"?>ToveJaniReminderDon't forget me this weekend!Please let me > know if i can use camel-servlet for this.Regards,-Yogesh > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/using-Camel-Servlet-component-to-consume-application-xml-message-tp5729904.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen