[ 
https://issues.apache.org/jira/browse/CAMEL-23626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18141283#comment-18141283
 ] 

Guillaume Nodet commented on CAMEL-23626:
-----------------------------------------

This issue is being investigated by a coding agent (on behalf of gnodet).

Triage analysis: The couchbase-log example in apache/camel-examples uses the 
deprecated MapReduce View API. Specifically:
- MyRouteBuilder.java uses useView=true in the URI
- CouchbaseTest.java creates DesignDocument/View objects via 
viewIndexes().upsertDesignDocument()

The fix is bounded: remove useView=true from the route URI and remove the View 
setup in the test, relying on the SQL++ (N1QL) default consumer mode instead. 
The main camel-couchbase component already fully supports SQL++ queries as the 
default path.

_Note: This comment was generated by an AI coding agent and requires manual 
verification._

> Upgrade couchbasetest in example to not use deprecated "View"
> -------------------------------------------------------------
>
>                 Key: CAMEL-23626
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23626
>             Project: Camel
>          Issue Type: Test
>          Components: camel-couchbase
>    Affects Versions: 4.20.0
>            Reporter: Aurélien Pupier
>            Assignee: Guillaume Nodet
>            Priority: Major
>
> see https://github.com/apache/camel-examples/pull/189



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to