Uses of Class
org.springframework.pulsar.support.header.JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder
Package
Description
Package containing components to support Pulsar header functionality.
-
Uses of JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder in org.springframework.pulsar.support.header
Modifier and TypeMethodDescriptionJsonPulsarHeaderMapper.builder()
Construct a builder instance that can be used to construct aJsonPulsarHeaderMapper
.JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder.inboundPatterns
(String... patterns) Adds to the list of patterns to be used for inbound header matching.JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder.objectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the object mapper to use to read/write header values as JSON.JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder.outboundPatterns
(String... patterns) Adds to the list of patterns to be used for outbound header matching.JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder.toStringClasses
(String... classNames) Add class names to the list of classes that should be serialized using theirObject.toString()
method.JsonPulsarHeaderMapper.JsonPulsarHeaderMapperBuilder.trustedPackages
(String... packages) Add packages to the list of trusted packages used when constructing objects from JSON.