-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.19.0
-
Component/s: camel-jetty, camel-servlet
-
Labels:None
-
Environment:
Windows 7 JDK 8 Spring Boot 1.5.3
-
Estimated Complexity:Unknown
Camel does not generating the options answer for all routes defined using component servlet, ex:
restConfiguration().component("servlet").bindingMode(RestBindingMode.json) rest("/v1/customers") .get() .produces("application/json") .to("direct:listAll") .get("/{id}") .produces("application/json") .to("direct:findOne")
For /v1/customers the request OPTIONS return 200 OK but for /v1/customers/1 the request OPTIONS return 404 not found.
- relates to
-
CAMEL-11312 camel-undertow - Rest-DSL should support OPTIONS
-
- Resolved
-