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 message reference from this exchange.
 NormalizedMessage getOutMessage()
          Retrieves the out message reference from this exchange.
 void setInMessage(NormalizedMessage msg)
          Specifies the in message reference for this exchange.
 void setOutMessage(NormalizedMessage msg)
          Specifies the out message reference for this exchange.
 
Methods inherited from interface javax.jbi.messaging.MessageExchange
createFault, createMessage, getEndpoint, getError, getExchangeId, getFault, getFlowAttributes, getInterfaceName, getMessage, getOperation, getPattern, getProperty, getPropertyNames, getRole, getService, getStatus, isTransacted, setEndpoint, setError, setFault, setFlowAttributes, setInterfaceName, setMessage, setOperation, setProperty, setService, setStatus
 

Method Detail

getInMessage

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

Returns:
in message; may be null
Throws:
java.lang.IllegalStateException - if the component is not the owner of this message exchange

getOutMessage

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

Returns:
out message; may be null
Throws:
java.lang.IllegalStateException - if the component is not the owner of this message exchange

setInMessage

void setInMessage(NormalizedMessage msg)
                  throws MessagingException
Specifies the in message reference for this exchange.

Parameters:
msg - in message; must be non-null
Throws:
MessagingException - unable to set in message
java.lang.IllegalStateException - if the component is not the owner of this message exchange

setOutMessage

void setOutMessage(NormalizedMessage msg)
                   throws MessagingException
Specifies the out message reference for this exchange.

Parameters:
msg - out message; must be non-null
Throws:
MessagingException - unable to set out message
java.lang.IllegalStateException - if the component is not the owner of this message exchange


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.