| |
|
| 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. |
Constructor Summary | |
public | MessageProcessor(DeliveryChannel chnl, MessageExchange exchange) Creates a new MessageProcessor object. |
Method Summary | |
public void | execute() Command pattern for executing in a thread pool. | public String | getDate() Util method to return current date. | public void | processInOnly(InOnly inonly) Processes inonly message. | public void | processInOut(InOut inout) Processes in-out message. | public void | processOutOnly(InOnly outonly) Processes out only message. | public void | processRobustInOnly(RobustInOnly robustinonly) Processes robust inonly messages. | public boolean | writeErrorMessage(Exception ex) Writes a error message into file.
Parameters: ex - exception message. | public boolean | writeFaultMessage(Fault msg) Writes a fault message into file.
Parameters: msg - fault message. | public boolean | writeMessage(javax.xml.transform.Source doc) Writes a sucess response message into file.
Parameters: doc - normalized message. | public boolean | writeOutMessage(NormalizedMessage msg) Writes an output message into file.
Parameters: msg - normalized message. |
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. |
|
|
|