Class InterceptSendToEndpointReifier

  • All Implemented Interfaces:
    org.apache.camel.spi.BeanRepository

    public class InterceptSendToEndpointReifier
    extends ProcessorReifier<org.apache.camel.model.InterceptSendToEndpointDefinition>
    • Constructor Detail

      • InterceptSendToEndpointReifier

        public InterceptSendToEndpointReifier​(org.apache.camel.Route route,
                                              org.apache.camel.model.ProcessorDefinition<?> definition)
    • Method Detail

      • createProcessor

        public org.apache.camel.Processor createProcessor()
                                                   throws Exception
        Description copied from class: ProcessorReifier
        Override this in definition class and implement logic to create the processor based on the definition model.
        Specified by:
        createProcessor in class ProcessorReifier<org.apache.camel.model.InterceptSendToEndpointDefinition>
        Throws:
        Exception
      • 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.