William, I guess I was responding on how camel-jetty works. If you set the Content-Type header it will use that in the request/return. Can you be more specific in what you are trying to do?
I'm not familiar with akka-camel (or scala) but looking at the CamelMessage documentation [1] it does appear to have ways to set/read headers. [1] https://github.com/akka/akka/blob/master/akka-camel/src/main/scala/akka/camel/CamelMessage.scala On Thu, Apr 4, 2013 at 3:21 PM, William King <w...@terrafugue.com> wrote: > there is no setHeader method on CamelMessage in akka-camel but there are > some other header related methods. > > back to tinkering ... > > > On Thu, 04 Apr 2013 16:48:16 -0500, Chris Geer <ch...@cxtsoftware.com> > wrote: > > Have you tried setHeader("Content-Type", "application/soap+xml")? >> >> >> On Thu, Apr 4, 2013 at 2:46 PM, wpking <w...@terrafugue.com> wrote: >> >> I'm building a scala/akka-camel SOAP WS client using the jetty:http camel >>> component. What is the recommended way of changing the Content-Type http >>> request header to application/soap+xml ? >>> >>> Thanks in advance for your suggestions. >>> >>> >>> >>> -- >>> View this message in context: >>> http://camel.465427.n5.nabble.**com/Changing-the-jetty-http-** >>> Content-Type-request-header-**tp5730365.html<http://camel.465427.n5.nabble.com/Changing-the-jetty-http-Content-Type-request-header-tp5730365.html> >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >>