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)
ConditionmatchProcess in interface Conditionexchange - the exchangeprocessor - the Processordefinition - the present location in the route where the Exchange is located atpublic boolean matchEvent(Exchange exchange, EventObject event)
ConditionmatchEvent in interface Conditionexchange - the exchangeevent - the event (instance of AbstractExchangeEventAbstractExchangeEventApache Camel