I am sending request to below route with "Content-Type: audio/amr" but i am
unable  to access Content-Type in myService.  



<route xmlns="http://camel.apache.org/schema/spring"; trace="true">
  <from uri="servlet:///myServlet?matchOnUriPrefix=true" />
  <to uri="cxfbean:myService" />
</route>

Service with method
@POST
        @Path("/{package}/{service}")
        public Response processRequest(@Context UriInfo uriInfo,
                        @Context HttpServletRequest request,
                        @Context HttpHeaders headers)

{
MediaType mimeType = headers.getMediaType();

 




}




--
View this message in context: 
http://camel.465427.n5.nabble.com/CFX-Bean-headers-access-Issue-tp5741312.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to