public interface Condition
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.Modifier and Type | Method and Description |
---|---|
boolean |
matchEvent(Exchange exchange,
EventObject event)
Does the condition match
|
boolean |
matchProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition)
Does the condition match
|
boolean matchProcess(Exchange exchange, Processor processor, ProcessorDefinition<?> definition)
boolean matchEvent(Exchange exchange, EventObject event)
exchange
- the exchangeevent
- the event (instance of AbstractExchangeEvent
AbstractExchangeEvent
Apache Camel