org.jboss.soa.esb.actions
Class StaticRouter
java.lang.Object
org.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.StaticRouter
- All Implemented Interfaces:
- ActionLifecycle, ActionPipelineProcessor
public class StaticRouter
- extends AbstractActionPipelineProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROUTE_TO_TAG
public static final java.lang.String ROUTE_TO_TAG
- See Also:
- Constant Field Values
_config
protected ConfigTree _config
_destinations
protected java.util.List<java.lang.String[]> _destinations
_logger
protected static org.apache.log4j.Logger _logger
StaticRouter
public StaticRouter(ConfigTree config)
throws ConfigurationException,
RegistryException
- Throws:
ConfigurationException
RegistryException
process
public Message process(Message message)
throws ActionProcessingException
- Description copied from interface:
ActionPipelineProcessor
- Perform the action processing on the specified message.
This method is invoked for each message passing throught the pipeline.
- 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.
initialise
public void initialise()
throws ActionLifecycleException
- Description copied from class:
AbstractActionLifecycle
- Initialise the action instance.
This method is called after the action instance has been instantiated so that
configuration options can be validated.
- Specified by:
initialise
in interface ActionLifecycle
- Overrides:
initialise
in class AbstractActionLifecycle
- Throws:
ActionLifecycleException
- for errors during initialisation.
split
public Message split(Message message)
throws MalformedEPRException,
RegistryException,
CourierException
- Throws:
MalformedEPRException
RegistryException
CourierException