org.axonframework.correlation
Interface CorrelationDataProvider<T extends Message>

Type Parameters:
T - The type of message the provider can process
All Known Implementing Classes:
MultiCorrelationDataProvider, SimpleCorrelationDataProvider

public interface CorrelationDataProvider<T extends Message>

Object defining the the data from a Message that should be attached as correlation data to messages generated as result of the processing of that message.

Since:
2.3
Author:
Allard Buijze

Method Summary
 Map<String,?> correlationDataFor(T message)
          Provides a map with the entries to attach as correlation data to generated messages while processing given message.
 

Method Detail

correlationDataFor

Map<String,?> correlationDataFor(T message)
Provides a map with the entries to attach as correlation data to generated messages while processing given message.

This method should not return null.

Parameters:
message - The message to define correlation data for
Returns:
the data to attach as correlation data to generated messages


Copyright © 2010-2016. All Rights Reserved.