Class DefaultCorrelationManager<T>
java.lang.Object
org.citrusframework.message.correlation.DefaultCorrelationManager<T>
- All Implemented Interfaces:
CorrelationManager<T>
- Direct Known Subclasses:
PollingCorrelationManager
Default correlation manager implementation works on simple in memory map for storing objects.
Correlation key is the map key. Clients can access objects in the store using the correlation key.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCorrelationKey(String correlationKeyName, TestContext context) voidsaveCorrelationKey(String correlationKeyName, String correlationKey, TestContext context) voidsetObjectStore(ObjectStore<T> store) void
-
Constructor Details
-
DefaultCorrelationManager
public DefaultCorrelationManager()
-
-
Method Details
-
saveCorrelationKey
public void saveCorrelationKey(String correlationKeyName, String correlationKey, TestContext context) - Specified by:
saveCorrelationKeyin interfaceCorrelationManager<T>
-
getCorrelationKey
- Specified by:
getCorrelationKeyin interfaceCorrelationManager<T>
-
store
- Specified by:
storein interfaceCorrelationManager<T>
-
find
- Specified by:
findin interfaceCorrelationManager<T>
-
setObjectStore
- Specified by:
setObjectStorein interfaceCorrelationManager<T>
-
getObjectStore
- Specified by:
getObjectStorein interfaceCorrelationManager<T>
-