T - The type of message this correlation handler can handlepublic class MultiCorrelationDataProvider<T extends Message> extends Object implements CorrelationDataProvider<T>
| Constructor and Description |
|---|
MultiCorrelationDataProvider(List<? extends CorrelationDataProvider<? super T>> correlationDataProviders)
Initialize the correlation data provider, delegating to given
correlationDataProviders. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
correlationDataFor(T message)
Provides a map with the entries to attach as correlation data to generated messages while processing given
message. |
public MultiCorrelationDataProvider(List<? extends CorrelationDataProvider<? super T>> correlationDataProviders)
correlationDataProviders.correlationDataProviders - the providers to delegate to.public Map<String,?> correlationDataFor(T message)
CorrelationDataProvidermessage.
This method should not return null.correlationDataFor in interface CorrelationDataProvider<T extends Message>message - The message to define correlation data forCopyright © 2010-2014. All Rights Reserved.