Class ProjectingMessageConverter

java.lang.Object
org.springframework.kafka.support.converter.MessagingMessageConverter
org.springframework.kafka.support.converter.ProjectingMessageConverter
All Implemented Interfaces:
MessageConverter, RecordMessageConverter

public class ProjectingMessageConverter extends MessagingMessageConverter
A MessageConverter implementation that uses a Spring Data ProjectionFactory to bind incoming messages to projection interfaces.
Since:
2.1.1
Author:
Oliver Gierke, Artem Bilan, Gary Russell
  • Constructor Details

    • ProjectingMessageConverter

      public ProjectingMessageConverter()
      Since:
      2.3
    • ProjectingMessageConverter

      public ProjectingMessageConverter(com.fasterxml.jackson.databind.ObjectMapper mapper)
      Create a new ProjectingMessageConverter using the given ObjectMapper.
      Parameters:
      mapper - must not be null.
    • ProjectingMessageConverter

      public ProjectingMessageConverter(MessagingMessageConverter delegate)
      Create a new ProjectingMessageConverter using the given ObjectMapper.
      Parameters:
      delegate - the delegate converter for outbound and non-interfaces.
      Since:
      2.3
    • ProjectingMessageConverter

      public ProjectingMessageConverter(com.fasterxml.jackson.databind.ObjectMapper mapper, MessagingMessageConverter delegate)
      Create a new ProjectingMessageConverter using the given ObjectMapper.
      Parameters:
      mapper - must not be null.
      delegate - the delegate converter for outbound and non-interfaces.
      Since:
      2.3
  • Method Details