Class DefaultPulsarMessageHeaderMapper
java.lang.Object
org.springframework.pulsar.support.DefaultPulsarMessageHeaderMapper
- All Implemented Interfaces:
PulsarMessageHeaderMapper
Implementation of
PulsarMessageHeaderMapper
.- Author:
- Soby Chacko
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Map from the given message metadata to a map of headers for the eventualMessageHeaders
.
-
Constructor Details
-
DefaultPulsarMessageHeaderMapper
public DefaultPulsarMessageHeaderMapper()
-
-
Method Details
-
toHeaders
Description copied from interface:PulsarMessageHeaderMapper
Map from the given message metadata to a map of headers for the eventualMessageHeaders
.- Specified by:
toHeaders
in interfacePulsarMessageHeaderMapper
- Parameters:
source
- Pulsar message.target
- the target headers.
-