Claus Ibsen created CAMEL-17652:
-----------------------------------

             Summary: camel-minio - Auto create bucket should not be done in 
endpoint
                 Key: CAMEL-17652
                 URL: https://issues.apache.org/jira/browse/CAMEL-17652
             Project: Camel
          Issue Type: Improvement
          Components: camel-minio
            Reporter: Claus Ibsen
             Fix For: 3.16.0


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to