Package org.apache.camel.spi
Interface NotifyBuilderMatcher
-
public interface NotifyBuilderMatcherAllows to be used in combination with NotifyBuilder as external predicate implementations to compute if the exchange matches. This is used by the mock endpoint, for example.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleannotifyBuilderMatches()Whether the predicate matchesvoidnotifyBuilderOnExchange(Exchange exchange)When an exchange was receivedvoidnotifyBuilderReset()Reset state
-
-
-
Method Detail
-
notifyBuilderOnExchange
void notifyBuilderOnExchange(Exchange exchange)
When an exchange was received- Parameters:
exchange- the exchange
-
notifyBuilderMatches
boolean notifyBuilderMatches()
Whether the predicate matches
-
notifyBuilderReset
void notifyBuilderReset()
Reset state
-
-