Class ToStringPulsarHeaderMapper

java.lang.Object
org.springframework.pulsar.support.header.AbstractPulsarHeaderMapper<Object,Object>
org.springframework.pulsar.support.header.ToStringPulsarHeaderMapper
All Implemented Interfaces:
PulsarHeaderMapper

public class ToStringPulsarHeaderMapper extends AbstractPulsarHeaderMapper<Object,Object>
A PulsarHeaderMapper that converts header values using simple 'toString'.
Author:
Chris Bono
  • Constructor Details

    • ToStringPulsarHeaderMapper

      public ToStringPulsarHeaderMapper()
      Construct a 'ToString' mapper that will match all inbound headers and all outbound headers (except internal framework headers and id/timestamp).
    • ToStringPulsarHeaderMapper

      public ToStringPulsarHeaderMapper(List<String> inboundPatterns, List<String> outboundPatterns)
      Construct a 'ToString' mapper that will match the supplied inbound and outbound patterns.
      Parameters:
      inboundPatterns - the inbound patterns to match - or empty map to match all
      outboundPatterns - the outbound patterns to match - or empty to match all (except internal framework headers and id/timestamp)
  • Method Details