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.
  • Constructor Details

    • AcceptAllHeaderFilterStrategy

      public AcceptAllHeaderFilterStrategy()
  • Method Details

    • applyFilterToCamelHeaders

      public boolean applyFilterToCamelHeaders(String headerName, Object headerValue, org.apache.camel.Exchange exchange)
      Specified by:
      applyFilterToCamelHeaders in interface org.apache.camel.spi.HeaderFilterStrategy
    • applyFilterToExternalHeaders

      public boolean applyFilterToExternalHeaders(String headerName, Object headerValue, org.apache.camel.Exchange exchange)
      Specified by:
      applyFilterToExternalHeaders in interface org.apache.camel.spi.HeaderFilterStrategy