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 Summary
Constructors Constructor Description CamelContextLifecycleHandler(List<RouteInvoker> invokers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterApplicationStart(org.apache.camel.CamelContext camelContext)
void
beforeApplicationStart(org.apache.camel.CamelContext camelContext)
-
-
-
Constructor Detail
-
CamelContextLifecycleHandler
public CamelContextLifecycleHandler(List<RouteInvoker> invokers)
-
-
Method Detail
-
beforeApplicationStart
public void beforeApplicationStart(org.apache.camel.CamelContext camelContext)
- Specified by:
beforeApplicationStart
in interfaceorg.apache.camel.spring.boot.CamelContextConfiguration
-
afterApplicationStart
public void afterApplicationStart(org.apache.camel.CamelContext camelContext)
- Specified by:
afterApplicationStart
in interfaceorg.apache.camel.spring.boot.CamelContextConfiguration
-
-