Package org.apache.camel.support
Class AcceptAllHeaderFilterStrategy
java.lang.Object
org.apache.camel.support.AcceptAllHeaderFilterStrategy
- All Implemented Interfaces:
org.apache.camel.spi.HeaderFilterStrategy
@Metadata(label="bean",
description="This strategy is used for accepting all headers.The intention is for use with development and troubleshooting where you want Camel to keep all headers\n * when sending and receiving using components that uses HeaderFilterStrategy",
annotations="interfaceName=org.apache.camel.spi.HeaderFilterStrategy")
@Configurer(metadataOnly=true)
public class AcceptAllHeaderFilterStrategy
extends Object
implements org.apache.camel.spi.HeaderFilterStrategy
This strategy is used for accepting all headers. The intention is for use with development and troubleshooting where
you want Camel to keep all headers when sending and receiving using components that uses
HeaderFilterStrategy.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.spi.HeaderFilterStrategy
org.apache.camel.spi.HeaderFilterStrategy.Direction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyFilterToCamelHeaders(String headerName, Object headerValue, org.apache.camel.Exchange exchange) booleanapplyFilterToExternalHeaders(String headerName, Object headerValue, org.apache.camel.Exchange exchange)
-
Constructor Details
-
AcceptAllHeaderFilterStrategy
public AcceptAllHeaderFilterStrategy()
-
-
Method Details
-
applyFilterToCamelHeaders
public boolean applyFilterToCamelHeaders(String headerName, Object headerValue, org.apache.camel.Exchange exchange) - Specified by:
applyFilterToCamelHeadersin interfaceorg.apache.camel.spi.HeaderFilterStrategy
-
applyFilterToExternalHeaders
public boolean applyFilterToExternalHeaders(String headerName, Object headerValue, org.apache.camel.Exchange exchange) - Specified by:
applyFilterToExternalHeadersin interfaceorg.apache.camel.spi.HeaderFilterStrategy
-