Interface OutboundMessageMapper<T>

All Known Subinterfaces:
BytesMessageMapper
All Known Implementing Classes:
ConvertingBytesMessageMapper, EmbeddedJsonHeadersMessageMapper, JsonOutboundMessageMapper
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 OutboundMessageMapper<T>
Strategy interface for mapping from a Message to an Object.
  • Method Summary

    Modifier and Type Method Description
    T fromMessage​(org.springframework.messaging.Message<?> message)  
  • Method Details

    • fromMessage

      @Nullable T fromMessage​(org.springframework.messaging.Message<?> message)