|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.converters.ByteArrayToString
public class ByteArrayToString
Byte Array to String processor.
Sample Action Configuration:<Action name="Bytes-To-UTF-8-String" processor="ByteArrayToString"> <property name="encoding" value="UTF-8" /> <!-- Default of "UTF-8". --> </Action>
Constructor Summary | |
---|---|
ByteArrayToString(java.lang.String actionName,
java.util.List<KeyValuePair> properties)
Public constructor. |
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 ByteArrayToString(java.lang.String actionName, java.util.List<KeyValuePair> properties)
actionName
- Processing action name.properties
- Action properties.Method Detail |
---|
public Message process(Message message) throws ActionProcessingException
ActionProcessor
process
in interface ActionProcessor
message
- The message to be processed.
ActionProcessingException
- Exception during payload processing.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 |