public class AlwaysMatchSyntaxIdentifier extends SyntaxIdentifierImpl
Always returns true when isThisSyntax() is used.
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 and Description |
---|
AlwaysMatchSyntaxIdentifier() |
AlwaysMatchSyntaxIdentifier(java.lang.String dest) |
Modifier and Type | Method and Description |
---|---|
boolean |
isThisSyntax(java.lang.String message)
Determine if this SyntaxIdentifer considers the message to
match all the configured patterns.
|
addPattern, getDestination, getPatterns, setDestination, setPatterns
public AlwaysMatchSyntaxIdentifier()
public AlwaysMatchSyntaxIdentifier(java.lang.String dest)
public boolean isThisSyntax(java.lang.String message)
SyntaxIdentifier
message
- the message to identify against.SyntaxIdentifier.isThisSyntax(java.lang.String)