Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.11.1, 3.11.2, 3.11.0
-
None
-
None
-
Unknown
Description
According to the documentation you should be able to specify the body and output media type using the convenience methods bodyMediaType() and outputMediaType(). But these methods aren't available in the Java DSL. Trying to use bodyMediaType() the IDE (Eclipse) reports this error:
"The method bodyMediaType(String) is undefined for the type ValueBuilder"
Compiling gives this error:
"Compilation failure:
[ERROR] Routes.java:[37,85] cannot find symbol
[ERROR] symbol: method bodyMediaType(java.lang.String)
[ERROR] location: class org.apache.camel.builder.ValueBuilder"
Attachments
Issue Links
- links to