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 Details

    • 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