Interface MessageConversionContext

All Known Subinterfaces:
AcknowledgementAwareMessageConversionContext
All Known Implementing Classes:
SqsMessageConversionContext

public interface MessageConversionContext
Marker interface for a message conversion context.
Since:
3.0
Author:
Tomaz Fernandes
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable Object
    An optional hint to be used by the payload conversion process.
    @Nullable Class<?>
    An optional parameter with the payload class to be used by the conversion process.
  • Method Details

    • getPayloadClass

      @Nullable Class<?> getPayloadClass()
      An optional parameter with the payload class to be used by the conversion process.
      Returns:
      the payload class.
    • getConversionHint

      default @Nullable Object getConversionHint()
      An optional hint to be used by the payload conversion process.
      Returns:
      the conversion hint.