Package org.apache.camel.spi
Interface NotifyBuilderMatcher
public interface NotifyBuilderMatcher
Allows 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
Modifier and TypeMethodDescriptionbooleanWhether the predicate matchesvoidnotifyBuilderOnExchange(Exchange exchange) When an exchange was receivedvoidReset state
-
Method Details
-
notifyBuilderOnExchange
When an exchange was received- Parameters:
exchange- the exchange
-
notifyBuilderMatches
boolean notifyBuilderMatches()Whether the predicate matches -
notifyBuilderReset
void notifyBuilderReset()Reset state
-