[
https://issues.apache.org/jira/browse/CAMEL-22090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030002#comment-18030002
]
Claus Ibsen commented on CAMEL-22090:
-------------------------------------
Okay so can we just use the "temp hack" as the solution. If couchbase requires
to use their own serializer.
> couchbase - consumer does not work if jackson is on classpath
> -------------------------------------------------------------
>
> Key: CAMEL-22090
> URL: https://issues.apache.org/jira/browse/CAMEL-22090
> Project: Camel
> Issue Type: Bug
> Affects Versions: 4.11.0
> Reporter: Federico Mariani
> Priority: Minor
> Fix For: 4.x
>
>
> When using Couchbase with frameworks that include Jackson (such as Spring
> Boot, Quarkus, or Camel with camel-jackson), a critical deserialization issue
> can occur that causes route failures.
> Couchbase client performs auto-detection of Jackson on the classpath. If
> detected, it attempts to use this Jackson implementation to deserialize
> document keys via readValue().
> The problem occurs when the Jackson version provided by Camel (currently
> 2.19.0) is present, as this creates a version conflict with Couchbase's
> expectations. As a result, the Couchbase consumer fails to unmarshal document
> keys, causing route failures.
> The issue stems from Couchbase's auto-detection logic in
> ClusterEnvironment.java:
> https://github.com/couchbase/couchbase-jvm-clients/blob/master/java-client/src/main/java/com/couchbase/client/java/env/ClusterEnvironment.java#L76
> This commit
> https://github.com/apache/camel/commit/ea69a4cc032d6ebbab9e8bf77c09b32f22009429
> temporarily fixes it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)