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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterApplicationStart
(org.apache.camel.CamelContext camelContext) void
beforeApplicationStart
(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
CamelContextLifecycleHandler
-
-
Method Details
-
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
-