|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Condition
A condition to define when a given Exchange
matches when is being routed.
Debugger
to apply Condition
s
to Breakpoint
s to define rules when the breakpoints should match.
Method Summary | |
---|---|
boolean |
matchEvent(Exchange exchange,
EventObject event)
Does the condition match |
boolean |
matchProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition)
Does the condition match |
Method Detail |
---|
boolean matchProcess(Exchange exchange, Processor processor, ProcessorDefinition<?> definition)
exchange
- the exchangeprocessor
- the Processor
definition
- the present location in the route where the Exchange
is located at
boolean matchEvent(Exchange exchange, EventObject event)
exchange
- the exchangeevent
- the event (instance of AbstractExchangeEvent
AbstractExchangeEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |