[ https://issues.apache.org/jira/browse/CAMEL-17652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721460#comment-17721460 ]
Andrea Cosentino commented on CAMEL-17652: ------------------------------------------ Important was just to remove the else ramification in the autocreation of bucket, instead of throwing an illegal argument exception > 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 > Assignee: Andrea Cosentino > Priority: Major > Fix For: 3.20.5, 3.21.0, 4.0-RC1, 4.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.10#820010)