Hi See the lazyStartProducer option
On Tue, Nov 11, 2025 at 9:29 AM Schuster, Stephan <[email protected]> wrote: > Hello, > > we would like Camel routes to start without requiring an active internet > connection immediately, which seems to be required in our case: > > We have a producer that wants eventually to send messages to an S3 bucket > and we have a configured route and endpoint for this. > During startup, we realized that the AWS2S3Endpoint.doStart() method > will always try to check for the existence of the bucket. In our scenario > this lookup fails because the connection might not be available. Camel will > shutdown on this failure and our application stops. > > We found a workaround by setting the filename parameter, but it seems > weird to set a parameter (which seems to be thought for consumers, looking > into the documentation) to work around establishing a connection during > route startup. > > Is there a proper way to prevent the aws connection or should I rather > open a ticket for this? > > Best, Stephan > > > > -- > Schwäbische Werkzeugmaschinen GmbH > Seedorfer Straße 91 > 78713 Schramberg-Waldmössingen > Deutschland / Germany > > www.sw-machines.com > > Zertifiziert nach: ISO 9001/ VDA 6.4 / ISO 14001 Sitz der Gesellschaft: > Schramberg - Waldmössingen, Fed. Rep. of Germany > Geschäftsführer: Kai Pieronczyk, Dr. Daniel Rieser, Stefan Weber > Registergericht: Amtsgericht Stuttgart / HRB 480839 > USt.Id.Nr.: DE 811 805 718 > SCHWEIZ: UID: CHE- 231.952.340 / MWST-Nr.: CHE- 231.952.340 MWST > > -- Claus Ibsen
