|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.actions.AbstractFileAction
org.jboss.soa.esb.actions.templates.MockFileAction
public class MockFileAction
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 | |
|---|---|
MockFileAction()
|
|
| 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. |
java.lang.Object |
process(java.io.File file)
Process the file message object. |
| Methods inherited from class org.jboss.soa.esb.actions.AbstractFileAction |
|---|
process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockFileAction()
| Method Detail |
|---|
public java.lang.Object process(java.io.File file)
throws ActionProcessingException
AbstractFileAction
process in class AbstractFileActionfile - The file to be processed.
ActionProcessingException - Exception while processing file.public java.io.Serializable getOkNotification(Message message)
ActionProcessor
message - The message Object.
public java.io.Serializable getErrorNotification(Message message)
ActionProcessor
message - The message Object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||