Class CamelInternalProcessor.RoutePolicyAdvice

java.lang.Object
org.apache.camel.impl.engine.CamelInternalProcessor.RoutePolicyAdvice
All Implemented Interfaces:
org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
Enclosing class:
CamelInternalProcessor

public static class CamelInternalProcessor.RoutePolicyAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
Advice to execute any RoutePolicy a route may have been configured with.
  • Constructor Details

    • RoutePolicyAdvice

      public RoutePolicyAdvice(List<org.apache.camel.spi.RoutePolicy> routePolicies)
  • Method Details

    • setRoute

      public void setRoute(org.apache.camel.Route route)
    • before

      public Object before(org.apache.camel.Exchange exchange) throws Exception
      Specified by:
      before in interface org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
      Throws:
      Exception
    • after

      public void after(org.apache.camel.Exchange exchange, Object data) throws Exception
      Specified by:
      after in interface org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
      Throws:
      Exception
    • hasState

      public boolean hasState()
      Specified by:
      hasState in interface org.apache.camel.spi.CamelInternalProcessorAdvice<Object>