Class CamelContextLifecycleHandler

  • All Implemented Interfaces:
    org.apache.camel.spring.boot.CamelContextConfiguration

    @ConditionalOnProperty(name="sip.testkit.batch-test",
                           havingValue="true")
    @Component
    public class CamelContextLifecycleHandler
    extends Object
    implements org.apache.camel.spring.boot.CamelContextConfiguration
    Config class for handling Camel Context by using its lifecycle methods. Used only in SIP batch tests.
    • Constructor Detail

      • CamelContextLifecycleHandler

        public CamelContextLifecycleHandler​(List<RouteInvoker> invokers)
    • Method Detail

      • beforeApplicationStart

        public void beforeApplicationStart​(org.apache.camel.CamelContext camelContext)
        Specified by:
        beforeApplicationStart in interface org.apache.camel.spring.boot.CamelContextConfiguration
      • afterApplicationStart

        public void afterApplicationStart​(org.apache.camel.CamelContext camelContext)
        Specified by:
        afterApplicationStart in interface org.apache.camel.spring.boot.CamelContextConfiguration