@FunctionalInterface public interface CorrelationDataProvider
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
correlationDataFor(Message<?> message)
Provides a map with the entries to attach as correlation data to generated messages while processing given
message . |
Map<String,?> correlationDataFor(Message<?> message)
message
.
This method should not return null
. Any exception thrown from this method might interfere with rolling
back a transaction. Therefore, by default exceptions are caught, ignoring the correlation data that should have
been added.message
- The message to define correlation data forCopyright © 2010–2023. All rights reserved.