| java.lang.Object com.sun.jbi.engine.sequencing.util.MessageExchangeHelper
MessageExchangeHelper | public class MessageExchangeHelper (Code) | | Helper class to process message exchanges.
author: Sun Microsystems, Inc. |
MessageExchangeHelper | public MessageExchangeHelper()(Code) | | Creates a new instance of MessageExchangeHelper.
|
createExchange | public static MessageExchange createExchange(String pattern)(Code) | | Creates an exchange corresponding to pattern.
Parameters: pattern - pattern message exchange |
getFault | public static Fault getFault(MessageExchange msg)(Code) | | Returns fault.
Parameters: msg - message exchange from which fault has to be extracted. Fault fault |
updateInMessage | public static boolean updateInMessage(MessageExchange msg, NormalizedMessage in)(Code) | | Updates the message exchange.
Parameters: msg - message exchange. Parameters: in - in message true / false depending if update was successful or not |
updateMessage | public static boolean updateMessage(MessageExchange msg, NormalizedMessage out, Exception error, Fault fault)(Code) | | Updates the message accding to the arguments provided.
Parameters: msg - ME Parameters: out - Out message Parameters: error - errror message Parameters: fault - fault true if update is successfull. |
|
|