|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.TestMessageStore
public class TestMessageStore
Simple action that passes the message to a logging mechanism. This action is primarily used for testing the quickstarts.
| Field Summary | |
|---|---|
static java.lang.String |
LOCATION
The message content location. |
static java.lang.String |
LOG_EXCEPTION
The log exception flag. |
static java.lang.String |
LOG_SUCCESS
The log success flag. |
| Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
|---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
| Constructor Summary | |
|---|---|
TestMessageStore(ConfigTree config)
Create the action with the specified configuration. |
|
| Method Summary | |
|---|---|
Message |
process(Message message)
Process the message. |
void |
processException(Message message,
java.lang.Throwable th)
Process the exception notification. |
void |
processSuccess(Message message)
Process the success notification. |
static void |
setMessageStoreSink(TestMessageStoreSink testMessageStoreSink)
Set the message store sink. |
| Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle |
|---|
destroy, initialise |
| 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, initialise |
| Field Detail |
|---|
public static final java.lang.String LOCATION
public static final java.lang.String LOG_SUCCESS
public static final java.lang.String LOG_EXCEPTION
| Constructor Detail |
|---|
public TestMessageStore(ConfigTree config)
config - The action configuration.| Method Detail |
|---|
public Message process(Message message)
throws ActionProcessingException
message - The current message.
ActionProcessingPipeline - for errors in processing.
ActionProcessingException - for errors during processing.
public void processException(Message message,
java.lang.Throwable th)
processException in interface ActionPipelineProcessorprocessException in class AbstractActionPipelineProcessormessage - The associated message.th - The throwable causing the exception.public void processSuccess(Message message)
processSuccess in interface ActionPipelineProcessorprocessSuccess in class AbstractActionPipelineProcessormessage - The associated message.public static void setMessageStoreSink(TestMessageStoreSink testMessageStoreSink)
testMessageStoreSink - The test message store sink.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||