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 Condition
s to
Breakpoint
s to define rules when the breakpoints should match.-
Method Summary
Modifier and TypeMethodDescriptionboolean
matchEvent
(Exchange exchange, CamelEvent.ExchangeEvent event) Does the condition matchboolean
matchProcess
(Exchange exchange, Processor processor, NamedNode definition, boolean before) 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:
-