Class CamelContextLifecycleHandler

java.lang.Object
de.ikor.sip.foundation.testkit.config.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 Details

    • CamelContextLifecycleHandler

      public CamelContextLifecycleHandler(List<RouteInvoker> invokers)
  • Method Details

    • 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