davsclaus commented on PR #21644: URL: https://github.com/apache/camel/pull/21644#issuecomment-3976611202
I dont like we have duplicate DSLs. As an end user you would only use either Jackson 2 or 3 not both at the same time. So what we should look at is to make Camel attempt to load jackson3 if available and if not jackson2 and then keep the DSL as is. The DSL in Camel is big and verbose, we should avoid expanding this - especially because of a implementation detail of the jackson library upgraded under the hood. There is the DataFormatResolver that attempt to discover the library - that code can be improved to be able to detect jackson 3 and 2. See `DefaultDataFormatResolver` and its okay to add hardcoded code that says "jackson" then try "jackson3" first and if not found then fallback to as before. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
