Package org.apache.camel.spi
Interface Condition
public interface Condition
A condition to define when a given
Exchange matches when is being routed.
Is used by the Debugger to apply Conditions to
Breakpoints to define rules when the breakpoints should match.-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatchEvent(Exchange exchange, CamelEvent.ExchangeEvent event) Does the condition matchbooleanmatchProcess(Exchange exchange, Processor processor, NamedNode definition) Does the condition match
-
Method Details
-
matchProcess
Does the condition match -
matchEvent
Does the condition match- Parameters:
exchange- the exchangeevent- the event (instance ofCamelEvent.ExchangeEvent- Returns:
- true to match, false otherwise
- See Also:
-