|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.actions.TestMessageStoreSink
public class TestMessageStoreSink
Simple action that passes the message to a logging mechanism. This action is primarily used for testing the quickstarts.
| Constructor Summary | |
|---|---|
TestMessageStoreSink()
|
|
| Method Summary | |
|---|---|
void |
clearMessages()
Clear the messages in the sink. |
void |
logMessage(java.lang.String message)
Log the message in the sink. |
java.lang.String[] |
waitForMessages(int numberOfMessages,
long maxDelay)
Wait for the specified number of messages to appear in the sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestMessageStoreSink()
| Method Detail |
|---|
public java.lang.String[] waitForMessages(int numberOfMessages,
long maxDelay)
numberOfMessages - The number of messages.maxDelay - The maximum delay for waiting.public void logMessage(java.lang.String message)
message - The current message.public void clearMessages()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||