|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.b2b.protocol.messaging.MessageEnvelope
The MessageEnvelope class represents a message envelope, which consists of a business message and associated meta-information.
Method Summary | |
boolean |
continueProcessing()
Determines whether the processing of the logic plug-in chain would continue (true) or not (false) if an exception were thrown during execution of logic plug-ins in the chain. |
void |
continueProcessing(boolean contProc)
Specifies whether the processing of the logic plug-in chain should continue (true) or not (false) if an exception were thrown during execution of logic plug-ins in the chain. |
int |
getContentLength()
Gets the length of this business message, in bytes. |
java.lang.String |
getContentType()
Gets the MIME message type of this business message. |
java.lang.String |
getCSpace()
Gets the name of the c-space in which this business message is exchanged. |
java.lang.String |
getInboundUrl()
Gets the URL of the c-space/business-protocol combination that the c-enabler node used to send this business message to the c-hub. |
java.io.InputStream |
getInputStream()
Gets an InputStream with which to read the business message. |
Message |
getMessage()
Gets the business message contained in this message envelope. |
java.lang.String |
getProtocolName()
Gets the name of the business protocol associated with this business message. |
java.lang.String |
getRecipient()
Gets the name of the recipient of this business message. |
java.lang.String |
getSender()
Gets the name of the trading partner who sent this message. |
java.lang.String |
getSenderUrl()
Gets the URL of the c-enabler node that sent this business message. |
int |
getStatusCode()
Gets the status code associated with the processing of this business message. |
boolean |
isSecure()
Determines whether the transport mechanism used in conjunction with this business message is secure (true) or not (false). |
void |
setRecipient(java.lang.String recipient)
Sets the recipient list of the business message in this message envelope to the single specified trading partner. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.lang.String getContentType()
public int getContentLength()
public int getStatusCode()
public java.io.InputStream getInputStream()
public Message getMessage()
public java.lang.String getProtocolName()
public java.lang.String getInboundUrl()
public java.lang.String getSenderUrl()
public java.lang.String getSender()
public java.lang.String getCSpace()
public boolean isSecure()
This applies to the transport on which the business message was received, not the transport that will be used to send the business message.
public void setRecipient(java.lang.String recipient) throws ModificationException
public java.lang.String getRecipient()
public boolean continueProcessing()
Normally, all of the logic plug-ins are independent, and the failure of one should not stop the processing by others. In certain cases, however, the failure might be so severe that it is not reasonable to continue processing. All requests start with a default value of true.
If false, then processing stops at that point in the chain.
public void continueProcessing(boolean contProc)
Normally, all of the logic plug-ins are independent and the failure of one should not stop processing by others. In some cases, however, the failure might be so severe that it is not reasonable to continue processing.
All requests start with a default value of true. If set to false, then processing stops at that point in the chain.
contProc
- true to continue processing, or false to stop processing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |