Package org.apache.camel.spi
Interface ContextReloadStrategy
- All Superinterfaces:
AutoCloseable,CamelContextAware,Service,StaticService
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 Summary
Modifier and TypeMethodDescriptionintNumber of reloads failed.intNumber of reloads succeeded.voidTrigger reload of theCamelContext.voidReset the counters.Methods inherited from interface org.apache.camel.CamelContextAware
getCamelContext, setCamelContext
-
Method Details
-
onReload
Trigger reload of theCamelContext.- 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.
-