Interface ExtendedStartupListener

All Superinterfaces:
StartupListener

public interface ExtendedStartupListener extends StartupListener
A StartupListener variant whose callback is guaranteed to fire exactly once, after all route consumers are fully started and the CamelContext is considered completely running.

Unlike the base StartupListener (which fires twice during startup: once before consumers start and once after), ExtendedStartupListener provides a single, unambiguous signal that the context is fully operational. This makes it the correct hook for code that must run after every route is reachable, such as adding and starting additional routes programmatically.

See Also: