org.jboss.soa.esb.actions
Class SystemPrintln
java.lang.Object
org.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.SystemPrintln
- All Implemented Interfaces:
- ActionLifecycle, ActionPipelineProcessor
public class SystemPrintln
- extends AbstractActionPipelineProcessor
Simple action that prints out the message contents using System.println.
- Author:
- tom.fennelly@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRE_MESSAGE
public static final java.lang.String PRE_MESSAGE
- See Also:
- Constant Field Values
FULL_MESSAGE
public static final java.lang.String FULL_MESSAGE
- See Also:
- Constant Field Values
PRINT_STREAM
public static final java.lang.String PRINT_STREAM
- See Also:
- Constant Field Values
DEFAULT_PRE_MESSAGE
public static final java.lang.String DEFAULT_PRE_MESSAGE
- See Also:
- Constant Field Values
SystemPrintln
public SystemPrintln(ConfigTree config)
- Public constructor.
If no PRE_MESSAGE data is provided within the supplied ConfigTree instance
then DEFAULT_PRE_MESSAGE is used.
- Parameters:
config
- Configuration.
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.