Interface HeaderPropagationAware
- All Known Implementing Classes:
- AbstractAmqpOutboundEndpoint,- AbstractCorrelatingMessageHandler,- AbstractHttpRequestExecutingMessageHandler,- AbstractMessageProducingHandler,- AbstractMessageSplitter,- AbstractRemoteFileOutboundGateway,- AbstractReplyProducingMessageHandler,- AbstractReplyProducingPostProcessingMessageHandler,- AbstractWebServiceOutboundGateway,- AggregatingMessageHandler,- AmqpOutboundEndpoint,- AsyncAmqpOutboundGateway,- BarrierMessageHandler,- BridgeHandler,- CamelMessageHandler,- CassandraMessageHandler,- ContentEnricher,- DefaultMessageSplitter,- DelayHandler,- ExpressionEvaluatingSplitter,- FileSplitter,- FileWritingMessageHandler,- FluxAggregatorMessageHandler,- FtpOutboundGateway,- GatewayMessageHandler,- GraphQlMessageHandler,- HttpRequestExecutingMessageHandler,- JdbcOutboundGateway,- JmsOutboundGateway,- JpaOutboundGateway,- KafkaProducerMessageHandler,- MarshallingWebServiceOutboundGateway,- MessageFilter,- MessageHandlerChain,- MessageTransformingHandler,- MethodInvokingSplitter,- MockMessageHandler,- MongoDbOutboundGateway,- OperationInvokingMessageHandler,- RedisOutboundGateway,- RedisQueueOutboundGateway,- ReplyProducingMessageHandlerWrapper,- ResequencingMessageHandler,- RSocketOutboundGateway,- ScatterGatherHandler,- ServiceActivatingHandler,- SftpOutboundGateway,- SimpleWebServiceOutboundGateway,- SmbOutboundGateway,- StoredProcOutboundGateway,- TcpOutboundGateway,- UnZipResultSplitter,- WebFluxRequestExecutingMessageHandler,- XPathMessageSplitter
public interface HeaderPropagationAware
MessageHandlers implementing this interface can propagate headers from
 an input message to an output message.
- Since:
- 4.3.11
- Author:
- Gary Russell
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNotPropagatedHeaders(String... headers) Add headers that will NOT be copied from the inbound message if the handler is configured to copy headers, instead of overwriting the existing set.Get the header names this handler doesn't propagate.voidsetNotPropagatedHeaders(String... headers) Set headers that will NOT be copied from the inbound message if the handler is configured to copy headers.
- 
Method Details- 
setNotPropagatedHeadersSet headers that will NOT be copied from the inbound message if the handler is configured to copy headers.- Parameters:
- headers- the headers to not propagate from the inbound message.
 
- 
getNotPropagatedHeadersCollection<String> getNotPropagatedHeaders()Get the header names this handler doesn't propagate.- Returns:
- an immutable Collectionof headers that will not be copied from the inbound message if the handler is configured to copy headers.
- See Also:
 
- 
addNotPropagatedHeadersAdd headers that will NOT be copied from the inbound message if the handler is configured to copy headers, instead of overwriting the existing set.- Parameters:
- headers- the headers to not propagate from the inbound message.
- See Also:
 
 
-