org.jboss.soa.esb.actions
Class BusinessRulesProcessor

java.lang.Object
  extended by org.jboss.soa.esb.actions.AbstractActionLifecycle
      extended by org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
          extended by org.jboss.soa.esb.actions.ContentBasedWiretap
              extended by org.jboss.soa.esb.actions.ContentBasedRouter
                  extended by org.jboss.soa.esb.actions.BusinessRulesProcessor
All Implemented Interfaces:
ActionLifecycle, ActionPipelineProcessor

public class BusinessRulesProcessor
extends ContentBasedRouter


Field Summary
 
Fields inherited from class org.jboss.soa.esb.actions.ContentBasedRouter
_logger
 
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
 
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD
 
Constructor Summary
BusinessRulesProcessor(ConfigTree config)
           
 
Method Summary
 Message process(Message message)
          Inspect the content of the message using a rule set Router the message to one or more destinations, using the ContentBasedRouter to figure out to which destinations it is going to be routed too.
 
Methods inherited from class org.jboss.soa.esb.actions.ContentBasedRouter
split
 
Methods inherited from class org.jboss.soa.esb.actions.ContentBasedWiretap
checkMyParms, initialise, invalidRuleConfiguration, noDestinations, routeMessage
 
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
processException, processSuccess
 
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle
destroy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.soa.esb.actions.ActionLifecycle
destroy
 

Constructor Detail

BusinessRulesProcessor

public BusinessRulesProcessor(ConfigTree config)
                       throws ConfigurationException,
                              RegistryException,
                              MessageRouterException
Throws:
ConfigurationException
RegistryException
MessageRouterException
Method Detail

process

public Message process(Message message)
                throws ActionProcessingException
Inspect the content of the message using a rule set Router the message to one or more destinations, using the ContentBasedRouter to figure out to which destinations it is going to be routed too.

Specified by:
process in interface ActionPipelineProcessor
Overrides:
process in class ContentBasedRouter
Parameters:
message -
Returns:
Message
Throws:
ActionProcessingException