javax.jbi.messaging
Interface InOptionalOut

All Superinterfaces:
MessageExchange

public interface InOptionalOut
extends MessageExchange

Supports operations used to process an In Optional Out MEP to completion.

Author:
JSR208 Expert Group

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jbi.messaging.MessageExchange
MessageExchange.Role
 
Field Summary
 
Fields inherited from interface javax.jbi.messaging.MessageExchange
JTA_TRANSACTION_PROPERTY_NAME
 
Method Summary
 NormalizedMessage getInMessage()
          Retrieves the in normalized message from this exchange.
 NormalizedMessage getOutMessage()
          Retrieves the out normalized message from this exchange.
 void setInMessage(NormalizedMessage msg)
          Sets the in normalized message for this exchange.
 void setOutMessage(NormalizedMessage msg)
          Sets the out normalized message for this exchange.
 
Methods inherited from interface javax.jbi.messaging.MessageExchange
createFault, createMessage, getEndpoint, getError, getExchangeId, getFault, getInterfaceName, getMessage, getOperation, getPattern, getProperty, getPropertyNames, getRole, getService, getStatus, isTransacted, setEndpoint, setError, setFault, setInterfaceName, setMessage, setOperation, setProperty, setService, setStatus
 

Method Detail

getInMessage

NormalizedMessage getInMessage()
Retrieves the in normalized message from this exchange.

Returns:
in message

getOutMessage

NormalizedMessage getOutMessage()
Retrieves the out normalized message from this exchange.

Returns:
out message

setInMessage

void setInMessage(NormalizedMessage msg)
                  throws MessagingException
Sets the in normalized message for this exchange.

Parameters:
msg - in message
Throws:
MessagingException - unable to set in message

setOutMessage

void setOutMessage(NormalizedMessage msg)
                   throws MessagingException
Sets the out normalized message for this exchange.

Parameters:
msg - out message
Throws:
MessagingException - unable to set out message


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.