Package org.apache.camel.spi
Interface CliConnector
- All Superinterfaces:
AutoCloseable,NonManagedService,Service,StaticService
Local
CliConnector that allows Camel CLI to manage local running Camel integrations.-
Method Summary
Modifier and TypeMethodDescriptionvoidsigterm()Signal to terminate Camel and the JVM.voidupdateDelay(int delay) Allows to adjust the frequency delay which the CliConnect reacts.
-
Method Details
-
sigterm
void sigterm()Signal to terminate Camel and the JVM. The Camel CLI can trigger this by the command: camel stop PID -
updateDelay
void updateDelay(int delay) Allows to adjust the frequency delay which the CliConnect reacts. Uses 1000 millis by default.- Parameters:
delay- delay in millis
-