Interface Service

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void build()
      Optional build phase which is executed by frameworks that supports pre-building projects (pre-compile) which allows special optimizations such as camel-quarkus.
      default void close()
      Delegates to stop() so it can be used in try-with-resources expression.
      default void init()
      Initialize the service
      void start()
      Starts the service
      void stop()
      Stops the service
    • Method Detail

      • build

        default void build()
        Optional build phase which is executed by frameworks that supports pre-building projects (pre-compile) which allows special optimizations such as camel-quarkus.
        Throws:
        RuntimeCamelException - is thrown if build failed
      • init

        default void init()
        Initialize the service
        Throws:
        RuntimeCamelException - is thrown if initialization failed