Claus Ibsen commented on CAMEL-12306:

We have improved a bunch of stuff since Camel 2.20.x so assume its working 
onwards. Reopen or create a new ticket if you can reproduce this on newer 

> String -> Enum type conversion no longer work if Jackson converter is enabled
> -----------------------------------------------------------------------------
>                 Key: CAMEL-12306
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12306
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jackson
>    Affects Versions: 2.17.1
>            Reporter: Jeff Torson
>            Priority: Minor
>             Fix For: 2.21.0
> 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.

This message was sent by Atlassian JIRA

Reply via email to