javax.jbi.messaging
Interface InOnly

All Superinterfaces:
MessageExchange

public interface InOnly
extends MessageExchange

Supports operations used to process an In Only 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.
 void setInMessage(NormalizedMessage msg)
          Sets the in normalized message 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 normalized message from this exchange.

Returns:
in message; may be null

setInMessage

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

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


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