Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.17.1
-
Fix Version/s: 2.21.0
-
Component/s: camel-jackson
-
Labels:None
-
Estimated Complexity:Unknown
Description
Enabling the Jackson type converter causes trying to convert from a String to Enum to fail. I fixed my offending code for this to set an enum constant on the header but I would have not expected this to happen. I suggest checking if the class type is an enum in JacksonTypeConverters and returning null so that a fallback converter can be used instead.