Interface CorrelationDataPostProcessor

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CorrelationDataPostProcessor
    A callback invoked immediately before publishing a message to update, replace, or create correlation data for publisher confirms. Invoked after conversion and all MessagePostProcessors.
    Since:
    1.6.7
    Author:
    Gary Russell
    • Method Detail

      • postProcess

        CorrelationData postProcess​(Message message,
                                    CorrelationData correlationData)
        Update or replace the correlation data provided in the send method.
        Parameters:
        message - the message.
        correlationData - the existing data (if present).
        Returns:
        the correlation data.