Interface ContextReloadStrategy

All Superinterfaces:
AutoCloseable, CamelContextAware, Service, StaticService

public interface ContextReloadStrategy extends StaticService, CamelContextAware
SPI strategy for reloading CamelContext. The reloading is limited to all routes and property placeholders. General services in the CamelContext is not reloaded.
See Also:
  • Method Details

    • onReload

      void onReload(Object source)
      Trigger reload of the CamelContext.
      Parameters:
      source - source that triggers the reloading.
    • getReloadCounter

      int getReloadCounter()
      Number of reloads succeeded.
    • getFailedCounter

      int getFailedCounter()
      Number of reloads failed.
    • resetCounters

      void resetCounters()
      Reset the counters.