camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Servlet and REST component integration is not complete
Date Tue, 25 Aug 2015 17:10:58 GMT
Experimenting a bit with a camel-example-servlet-rest-tomcat, 
ServletComponent creates a Consumer for RESTComponent, and unless I'm 
missing something, it ignores the consumes and produces initialization 
properties - so

curl -X GET -H "Accept: application/bar" 

still returns JSON instead of HTTP error...
Don't mind creating a patch but perhaps someone who is more did this 
integration can fix it given that I'm only starting looking at how REST 
component is supported...

Cheers, Sergey

View raw message