Interface CliConnector

All Superinterfaces:
AutoCloseable, NonManagedService, Service, StaticService

public interface CliConnector extends StaticService, NonManagedService
Local CliConnector that allows Camel CLI to manage local running Camel integrations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Signal to terminate Camel and the JVM.
    void
    updateDelay(int delay)
    Allows to adjust the frequency delay which the CliConnect reacts.

    Methods inherited from interface org.apache.camel.Service

    build, close, init, start, stop
  • 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