Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16284

camel-couchbase: Incorrect Endpoint URI breaks CKC's couchbase connector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.7.2, 3.8.0
    • 3.7.3, 3.9.0
    • None
    • None
    • Unknown

    Description

      Running the Couchbase connector from CKC, leads to the following failure:

       

      Failed to resolve endpoint:
      couchbase://http:my-redacted-host:8091?bucket=testBucket85&password=xxxxxx
      due to: Invalid URI. Format must be of the form
      couchbase:http[s]://hostname[:port]/bucket?[options...]

       

      Apparently this is caused because the hostname on the UriEndpoint should be //hostname:

      https://github.com/apache/camel/blob/camel-3.8.x/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseEndpoint.java#L58

      Attachments

        Activity

          People

            orpiske Otavio Rodolfo Piske
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: