|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.templates.MockAction
public class MockAction
Use this class to tune your XML configurations
Once your config works with this dummy class, you can switch to your own action class You will have to implement these three methods in your own action class
Constructor Summary | |
---|---|
MockAction()
|
Method Summary | |
---|---|
java.io.Serializable |
getErrorNotification(Message message)
Get the "Error" notification message for this processor. |
java.io.Serializable |
getOkNotification(Message message)
Get the "OK" notification message for this processor. |
Message |
process(Message message)
Perform the processing action on the message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockAction()
Method Detail |
---|
public Message process(Message message)
ActionProcessor
process
in interface ActionProcessor
message
- The message to be processed.
public java.io.Serializable getOkNotification(Message message)
ActionProcessor
getOkNotification
in interface ActionProcessor
message
- The message Object.
public java.io.Serializable getErrorNotification(Message message)
ActionProcessor
getErrorNotification
in interface ActionProcessor
message
- The message Object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |