Class InterceptSendToEndpointCallback

java.lang.Object
org.apache.camel.processor.InterceptSendToEndpointCallback
All Implemented Interfaces:
org.apache.camel.spi.EndpointStrategy

public class InterceptSendToEndpointCallback extends Object implements org.apache.camel.spi.EndpointStrategy
Endpoint strategy used by intercept send to endpoint.
  • Constructor Details

    • InterceptSendToEndpointCallback

      public InterceptSendToEndpointCallback(org.apache.camel.CamelContext camelContext, org.apache.camel.Processor before, org.apache.camel.Processor after, String matchURI, boolean skip)
  • Method Details

    • registerEndpoint

      public org.apache.camel.Endpoint registerEndpoint(String uri, org.apache.camel.Endpoint endpoint)
      Specified by:
      registerEndpoint in interface org.apache.camel.spi.EndpointStrategy
    • matchPattern

      protected boolean matchPattern(String uri, String pattern)
      Does the uri match the pattern.
      Parameters:
      uri - the uri
      pattern - the pattern, which can be an endpoint uri as well
      Returns:
      true if matched and we should intercept, false if not matched, and not intercept.