public class ConditionSupport extends Object implements Condition
Condition
implementations to use as base class.Constructor and Description |
---|
ConditionSupport() |
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
|
public ConditionSupport()
public boolean matchProcess(Exchange exchange, Processor processor, ProcessorDefinition<?> definition)
Condition
matchProcess
in interface Condition
exchange
- the exchangeprocessor
- the Processor
definition
- the present location in the route where the Exchange
is located atpublic boolean matchEvent(Exchange exchange, EventObject event)
Condition
matchEvent
in interface Condition
exchange
- the exchangeevent
- the event (instance of AbstractExchangeEvent
AbstractExchangeEvent
Apache Camel