Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.19.0
-
None
-
Windows 7 JDK 8 Spring Boot 1.5.3
-
Unknown
Description
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.
Attachments
Issue Links
- relates to
-
CAMEL-11312 camel-undertow - Rest-DSL should support OPTIONS
- Resolved