Package org.apache.camel.spi
Interface InterceptableProcessor
public interface InterceptableProcessor
To control whether a
Processor can be intercepted via InterceptStrategy.
Some EIPs such as try/catch/finally cannot be intercepted.-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the processor can be intercepted or not.
-
Method Details
-
canIntercept
boolean canIntercept()Whether the processor can be intercepted or not.- Returns:
- true to allow intercepting, false to skip.
-