org.jboss.soa.esb.actions
Class StaticWiretap
java.lang.Object
org.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.StaticWiretap
- All Implemented Interfaces:
- ActionLifecycle, ActionPipelineProcessor
- Direct Known Subclasses:
- StaticRouter
public class StaticWiretap
- extends AbstractActionPipelineProcessor
Method Summary |
void |
initialise()
Initialization by reading the configuration. |
Message |
process(Message message)
Routes the message to one or more destinations, returning original message. |
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
messageMulticaster
protected MessageMulticaster messageMulticaster
_logger
protected static org.apache.log4j.Logger _logger
StaticWiretap
public StaticWiretap(ConfigTree config)
throws ConfigurationException,
RegistryException
- Throws:
ConfigurationException
RegistryException
process
public Message process(Message message)
throws ActionProcessingException
- Routes the message to one or more destinations, returning original message.
- 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
- Initialization by reading the configuration.
- Specified by:
initialise
in interface ActionLifecycle
- Overrides:
initialise
in class AbstractActionLifecycle
- Throws:
ActionLifecycleException
- for errors during initialisation.