public class PollingCorrelationManager<T> extends DefaultCorrelationManager<T>
Constructor and Description |
---|
PollingCorrelationManager(PollableEndpointConfiguration endpointConfiguration,
String retryLogMessage)
Constructor using fields.
|
Modifier and Type | Method and Description |
---|---|
T |
find(String correlationKey)
Convenience method for using default timeout settings of endpoint configuration.
|
T |
find(String correlationKey,
long timeout)
Finds stored object by its correlation key.
|
String |
getCorrelationKey(String correlationKeyName,
TestContext context)
Gets correlation key for given identifier.
|
String |
getRetryLogMessage()
Gets the retry log message
|
void |
setRetryLogMessage(String retryLogMessage)
Sets the retry log message.
|
getObjectStore, saveCorrelationKey, setObjectStore, store
public PollingCorrelationManager(PollableEndpointConfiguration endpointConfiguration, String retryLogMessage)
endpointConfiguration
- retryLogMessage
- public T find(String correlationKey)
correlationKey
- public String getCorrelationKey(String correlationKeyName, TestContext context)
CorrelationManager
getCorrelationKey
in interface CorrelationManager<T>
getCorrelationKey
in class DefaultCorrelationManager<T>
public T find(String correlationKey, long timeout)
CorrelationManager
find
in interface CorrelationManager<T>
find
in class DefaultCorrelationManager<T>
public String getRetryLogMessage()
public void setRetryLogMessage(String retryLogMessage)
retryLogMessage
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.