camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: using Camel-Servlet component to consume application/xml message
Date Wed, 27 Mar 2013 10:09:52 GMT

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 <> 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 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message