Package org.apache.camel.test.junit5
Class ContextManagerFactory
java.lang.Object
org.apache.camel.test.junit5.ContextManagerFactory
A factory class for creating context managers
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContextManager(ContextManagerFactory.Type type, TestExecutionConfiguration testConfiguration, CamelContextConfiguration contextConfiguration) Creates a new context manager
-
Constructor Details
-
ContextManagerFactory
public ContextManagerFactory()
-
-
Method Details
-
createContextManager
public CamelContextManager createContextManager(ContextManagerFactory.Type type, TestExecutionConfiguration testConfiguration, CamelContextConfiguration contextConfiguration) Creates a new context manager- Parameters:
type- callback type that initiated the requesttestConfiguration- the test configuration instancecontextConfiguration- the context configuration instance- Returns:
- a new context manager instance
-