Croway opened a new pull request, #18129:
URL: https://github.com/apache/camel/pull/18129

   Output from `camel infra run couchbase`
   
   ```
   {
     "bucket" : "myBucket",
     "designDocumentName" : "myDesignDocument",
     "getConnectionString" : "couchbase://localhost:11210",
     "getHostname" : "localhost",
     "getPassword" : "password",
     "getPort" : 8091,
     "getUsername" : "Administrator",
     "hostname" : "localhost",
     "password" : "password",
     "port" : 8091,
     "protocol" : "http",
     "username" : "Administrator",
     "viewName" : "myView"
   }
   ```
   
   Route used for test
   
   ```
   ///usr/bin/env jbang "$0" "$@" ; exit $?
   //DEPS org.apache.camel:camel-couchbase:4.12.0-SNAPSHOT
   
   import org.apache.camel.builder.RouteBuilder;
   import org.apache.camel.Exchange;
   
   public class MyRoute extends RouteBuilder {
   
       @Override
       public void configure() throws Exception {
           from("timer:java?period=1000&includeMetadata=true")
                   .setBody()
                       .simple("Hello Camel from ${routeId}")
                   
.setHeader(org.apache.camel.component.couchbase.CouchbaseConstants.HEADER_ID, 
simple("SimpleDocument_${header.CamelMessageTimestamp}"))
                   
.to("couchbase:http://localhost:8091?username=Administrator&password=password&bucket=myBucket";);
   
           
from("couchbase:http://localhost:8091?username=Administrator&password=password&bucket=myBucket&viewName=myView&designDocumentName=myDesignDocument";)
                   .log("${headers}")
                   .log("${body}");
       }
   }
   ```
   
   This 
https://github.com/apache/camel/commit/ea69a4cc032d6ebbab9e8bf77c09b32f22009429 
is a workaround due to https://issues.apache.org/jira/browse/CAMEL-22090


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to