Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.15.0
-
None
-
Unknown
Description
For example having
rest("book").produces("application/json") .get("/order/{id}") .to("bean:bookService?method=getOrder");
You may want this rest service to return application/json as the content-type header.
We should have an option that control what behavior to use
- always use
- use if no existing header
- off