org.jboss.soa.esb.actions
Class BusinessRulesProcessor
java.lang.Object
org.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.ContentBasedWiretap
org.jboss.soa.esb.actions.ContentBasedRouter
org.jboss.soa.esb.actions.BusinessRulesProcessor
- All Implemented Interfaces:
- ActionLifecycle, ActionPipelineProcessor
public class BusinessRulesProcessor
- extends ContentBasedRouter
BusinessRulesProcessor extends ContentBasedRouter
but does not perform any routing, it only
executes the business rules.
Configuration Example:
As this class extends {@link ContentBasedRouter} please see its javadoc for
configuration descriptions that are common to both classes.
Property description:
class action class, org.jboss.soa.esb.actions.BusinessRulesProcessor
stateful Optional property which tells the RuleService to use a stateful session where facts will be remembered between invokations.
- Author:
- John Doe, Daniel Bevenius
Fields inherited from class org.jboss.soa.esb.actions.ContentBasedWiretap |
_cbr, _cbrClass, _config, _destinations, _mapper, _messagePathList, _registry, _ruleLanguage, _ruleReload, _ruleSet, DEFAULT_CBR_CLASS, messageMulticaster, OBJECT_PATH, OBJECT_PATH_TAG, ROUTE_TO_TAG |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessRulesProcessor
public BusinessRulesProcessor(ConfigTree config)
throws ConfigurationException,
RegistryException,
MessageRouterException
- Throws:
ConfigurationException
RegistryException
MessageRouterException
process
public Message process(Message message)
throws ActionProcessingException
- Inspect the content of the message using a rule set
- Specified by:
process
in interface ActionPipelineProcessor
- Overrides:
process
in class ContentBasedRouter
- Parameters:
message
-
- Returns:
- Message
- Throws:
ActionProcessingException