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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
notifyBuilderMatches()
Whether the predicate matchesvoid
notifyBuilderOnExchange(Exchange exchange)
When an exchange was receivedvoid
notifyBuilderReset()
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
-
-