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

camel-minio - Auto create bucket should not be done in endpoint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.20.5, 3.21.0, 4.0-RC1, 4.0.0
    • camel-minio
    • None
    • Unknown

    Description

      https://ci-builds.apache.org/job/Camel/job/Apache%20Camel/job/main/108/testReport/junit/org.apache.camel.component.minio.integration/MinioConsumerIT/sendIn/

      If the bucket cannot be created such as minio service is unavailable (http status 503) then the endpoint fails and camel fails to start.

      The consumer already have logic for auto-create in its start method, which you can configure to keep restarting the route on failure with the route controller.

      I am not sure if the producer needs this as the operations are get / list etc - and whether they would fail if bucket does not exist - then this logic needs to be moved to the producer also

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: