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 TypeMethodDescriptionboolean
Whether the predicate matchesvoid
notifyBuilderOnExchange
(Exchange exchange) When an exchange was receivedvoid
Reset 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
-