org.apache.synapse.processors.rules
Class RegexProcessor
java.lang.Object
org.apache.synapse.processors.AbstractProcessor
org.apache.synapse.processors.ListProcessor
org.apache.synapse.processors.rules.RegexProcessor
- All Implemented Interfaces:
- Processor
- public class RegexProcessor
- extends ListProcessor
This checks the pattern against a property and if true processes the message with its child or children
TODO add to the set of properties you can search
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexProcessor
public RegexProcessor()
setHeaderType
public void setHeaderType(java.lang.String header)
getHeaderType
public java.lang.String getHeaderType()
setPattern
public void setPattern(java.lang.String p)
getPattern
public java.lang.String getPattern()
setPropertyName
public void setPropertyName(java.lang.String p)
getPropertyName
public java.lang.String getPropertyName()
process
public boolean process(SynapseEnvironment se,
SynapseMessage smc)
- Description copied from interface:
Processor
- This method is used to process a message. A response of true indicates continue processing.
A response of false indicates to stop processing.
- Specified by:
process
in interface Processor
- Overrides:
process
in class ListProcessor