| |
|
| java.lang.Object com.sun.jbi.binding.file.MessageProcessor
MessageProcessor | public class MessageProcessor implements Command,FileBindingResources(Code) | | Message Processor which parses the message received from NMR.
author: Sun Microsystems, Inc. |
IN_ONLY | final public static String IN_ONLY(Code) | | In Only MEP.
|
IN_OPTIONAL_OUT | final public static String IN_OPTIONAL_OUT(Code) | | In Optional Out MEP.
|
OUT_ONLY | final public static String OUT_ONLY(Code) | | Out Only MEP.
|
OUT_OPTIONAL_IN | final public static String OUT_OPTIONAL_IN(Code) | | Out Optional In MEP.
|
ROBUST_IN_ONLY | final public static String ROBUST_IN_ONLY(Code) | | Robust In Only MEP.
|
ROBUST_OUT_ONLY | final public static String ROBUST_OUT_ONLY(Code) | | Robust Out Only MEP.
|
MessageProcessor | public MessageProcessor(DeliveryChannel chnl, MessageExchange exchange)(Code) | | Creates a new MessageProcessor object.
Parameters: chnl - binding channel. Parameters: exchange - message exchange. |
execute | public void execute()(Code) | | Command pattern for executing in a thread pool.
|
getDate | public String getDate()(Code) | | Util method to return current date.
date |
processInOnly | public void processInOnly(InOnly inonly)(Code) | | Processes inonly message.
Parameters: inonly - inony message. |
processInOut | public void processInOut(InOut inout)(Code) | | Processes in-out message.
Parameters: inout - inout message. |
processOutOnly | public void processOutOnly(InOnly outonly)(Code) | | Processes out only message.
Parameters: outonly - outonly message. |
processRobustInOnly | public void processRobustInOnly(RobustInOnly robustinonly)(Code) | | Processes robust inonly messages.
Parameters: robustinonly - robustinonly exchange. |
writeErrorMessage | public boolean writeErrorMessage(Exception ex)(Code) | | Writes a error message into file.
Parameters: ex - exception message. true if successfull, false otherwise. |
writeFaultMessage | public boolean writeFaultMessage(Fault msg)(Code) | | Writes a fault message into file.
Parameters: msg - fault message. true if successfull, false otherwise. |
writeMessage | public boolean writeMessage(javax.xml.transform.Source doc)(Code) | | Writes a sucess response message into file.
Parameters: doc - normalized message. true if successfull, false otherwise. |
writeOutMessage | public boolean writeOutMessage(NormalizedMessage msg)(Code) | | Writes an output message into file.
Parameters: msg - normalized message. true if successfull, false otherwise. |
|
|
|