Class JsonPathSyntaxIdentifier
- java.lang.Object
-
- com.adaptris.core.services.routing.SyntaxIdentifierBase
-
- com.adaptris.core.services.routing.SyntaxIdentifierImpl
-
- com.adaptris.core.services.routing.json.JsonPathSyntaxIdentifier
-
- All Implemented Interfaces:
ComponentLifecycle
,Condition
,SyntaxIdentifier
@ComponentProfile(summary="Syntax Identifier which handles JSON Paths", tag="json,routing") public class JsonPathSyntaxIdentifier extends SyntaxIdentifierImpl
Implementation ofSyntaxIdentifier
which handles JSON paths.In the adapter configuration file this class is aliased as routing-json-path-syntax-identifier which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description JsonPathSyntaxIdentifier()
JsonPathSyntaxIdentifier(java.util.List<java.lang.String> jsonPaths, java.lang.String dest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isThisSyntax(java.lang.String message)
-
Methods inherited from class com.adaptris.core.services.routing.SyntaxIdentifierImpl
addPattern, getPatterns, setPatterns
-
Methods inherited from class com.adaptris.core.services.routing.SyntaxIdentifierBase
getDestination, setDestination
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
Methods inherited from interface com.adaptris.core.services.routing.SyntaxIdentifier
evaluate
-
-
-
-
Method Detail
-
isThisSyntax
public boolean isThisSyntax(java.lang.String message) throws ServiceException
- Throws:
ServiceException
-
-