org.jboss.soa.esb.actions
Class StaticRouter

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.StaticWiretap
              extended by org.jboss.soa.esb.actions.StaticRouter
All Implemented Interfaces:
ActionLifecycle, ActionPipelineProcessor

public class StaticRouter
extends StaticWiretap


Field Summary
protected static org.apache.log4j.Logger _logger
           
 
Fields inherited from class org.jboss.soa.esb.actions.StaticWiretap
_config, messageMulticaster, ROUTE_TO_TAG
 
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD
 
Constructor Summary
StaticRouter(ConfigTree config)
           
 
Method Summary
 Message process(Message message)
          Routes the message to one or more destinations.
 Message split(Message message)
          Deprecated. no longer needed, leaving this in here for backwards compatibility, use the default "process".
 
Methods inherited from class org.jboss.soa.esb.actions.StaticWiretap
initialise
 
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
 

Field Detail

_logger

protected static org.apache.log4j.Logger _logger
Constructor Detail

StaticRouter

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

process

public Message process(Message message)
                throws ActionProcessingException
Routes the message to one or more destinations.

Specified by:
process in interface ActionPipelineProcessor
Overrides:
process in class StaticWiretap
Parameters:
message - The current message being processed.
Returns:
The message to be passed to the next stage of the pipeline.
Throws:
ActionProcessingException - for errors during processing.

split

public Message split(Message message)
              throws ActionProcessingException
Deprecated. no longer needed, leaving this in here for backwards compatibility, use the default "process".

Throws:
ActionProcessingException