Class AlwaysMatchSyntaxIdentifier

  • All Implemented Interfaces:
    ComponentLifecycle, Condition, SyntaxIdentifier

    public class AlwaysMatchSyntaxIdentifier
    extends SyntaxIdentifierBase
    Always match.

    Always returns true when isThisSyntax() is used.

    Since 3.10.0 this class implements Condition which means that it can be used as part of the conditional services; if used in such a manner, then configuration is contextual, get/setDestination will be ignored (but may still have to be configured due to validation

    In the adapter configuration file this class is aliased as routing-always-match-syntax-identifier which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • AlwaysMatchSyntaxIdentifier

        public AlwaysMatchSyntaxIdentifier()
      • AlwaysMatchSyntaxIdentifier

        public AlwaysMatchSyntaxIdentifier​(java.lang.String dest)
    • Method Detail

      • isThisSyntax

        public boolean isThisSyntax​(java.lang.String message)
        Description copied from interface: SyntaxIdentifier
        Determine if this SyntaxIdentifer considers the message to match all the configured patterns.
        Parameters:
        message - the message to identify against.
        Returns:
        true if it matches.
        See Also:
        SyntaxIdentifier.isThisSyntax(java.lang.String)