|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sandesha2.RMMsgContext
public class RMMsgContext
This class is used to hold a MessageContext within Sandesha. This is used to easily manupilate the properties of a MessageContext.
Constructor Summary | |
---|---|
RMMsgContext()
|
|
RMMsgContext(org.apache.axis2.context.MessageContext ctx)
|
Method Summary | |
---|---|
void |
addRelatesTo(org.apache.axis2.addressing.RelatesTo relatesTo)
|
void |
addSOAPEnvelope()
To add a new SOAP envelope to the message. |
org.apache.axis2.context.ConfigurationContext |
getConfigurationContext()
|
org.apache.axis2.addressing.EndpointReference |
getFaultTo()
|
int |
getFlow()
|
org.apache.axis2.addressing.EndpointReference |
getFrom()
|
java.lang.String |
getGeneratedSequenceId()
This will return the sequenceId if it could be derived from the SOAP envelope, in the message initiation. |
org.apache.axis2.context.MessageContext |
getMessageContext()
|
java.lang.String |
getMessageId()
|
IOMRMPart |
getMessagePart(int partId)
|
java.util.Iterator |
getMessageParts(int partId)
|
int |
getMessageType()
|
java.lang.Object |
getProperty(java.lang.String key)
|
org.apache.axis2.addressing.RelatesTo |
getRelatesTo()
|
org.apache.axis2.addressing.EndpointReference |
getReplyTo()
|
java.lang.String |
getRMNamespaceValue()
|
java.lang.String |
getRMSpecVersion()
Gives the RM version. |
org.apache.axiom.soap.SOAPEnvelope |
getSOAPEnvelope()
|
org.apache.axis2.addressing.EndpointReference |
getTo()
|
java.lang.String |
getWSAAction()
|
boolean |
isMultiPart(int messagePartId)
|
void |
pause()
|
void |
removeMessageParts(int messageType)
|
void |
setAction(java.lang.String action)
|
void |
setFaultTo(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setFlow(int flow)
|
void |
setFrom(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setMessageContext(org.apache.axis2.context.MessageContext msgCtx)
|
void |
setMessageId(java.lang.String messageId)
|
void |
setMessagePart(int partId,
IOMRMPart part)
Sets an IRMPart object to the MessageContext. |
void |
setMessageType(int msgType)
The message type can be used to easily identify what this message is. |
void |
setPaused(boolean pause)
|
boolean |
setProperty(java.lang.String key,
java.lang.Object val)
|
void |
setReplyTo(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setRMNamespaceValue(java.lang.String rmNamespaceValue)
|
void |
setSOAPAction(java.lang.String SOAPAction)
|
void |
setSOAPEnvelop(org.apache.axiom.soap.SOAPEnvelope envelope)
|
void |
setTo(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setWSAAction(java.lang.String URI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMMsgContext()
public RMMsgContext(org.apache.axis2.context.MessageContext ctx)
Method Detail |
---|
public void setMessageContext(org.apache.axis2.context.MessageContext msgCtx)
public void addSOAPEnvelope() throws org.apache.axis2.AxisFault
SandeshaException
org.apache.axis2.AxisFault
public int getMessageType()
public void setMessageType(int msgType)
msgType
- public void setMessagePart(int partId, IOMRMPart part)
partId
- part
- public IOMRMPart getMessagePart(int partId) throws SandeshaException
SandeshaException
public java.util.Iterator getMessageParts(int partId)
public void removeMessageParts(int messageType)
public boolean isMultiPart(int messagePartId)
public org.apache.axis2.addressing.EndpointReference getFrom()
public org.apache.axis2.addressing.EndpointReference getTo()
public org.apache.axis2.addressing.EndpointReference getReplyTo()
public org.apache.axis2.addressing.RelatesTo getRelatesTo()
public java.lang.String getMessageId()
public void setFaultTo(org.apache.axis2.addressing.EndpointReference epr)
public org.apache.axis2.addressing.EndpointReference getFaultTo()
public org.apache.axiom.soap.SOAPEnvelope getSOAPEnvelope()
public void setSOAPEnvelop(org.apache.axiom.soap.SOAPEnvelope envelope) throws SandeshaException
SandeshaException
public void setFrom(org.apache.axis2.addressing.EndpointReference epr)
public void setTo(org.apache.axis2.addressing.EndpointReference epr)
public void setReplyTo(org.apache.axis2.addressing.EndpointReference epr)
public void setMessageId(java.lang.String messageId)
public void setAction(java.lang.String action)
public void addRelatesTo(org.apache.axis2.addressing.RelatesTo relatesTo)
public void setWSAAction(java.lang.String URI)
public java.lang.String getWSAAction()
public org.apache.axis2.context.MessageContext getMessageContext()
public java.lang.Object getProperty(java.lang.String key)
public boolean setProperty(java.lang.String key, java.lang.Object val)
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
public void setSOAPAction(java.lang.String SOAPAction)
public void pause()
public void setPaused(boolean pause)
public java.lang.String getRMNamespaceValue()
public void setRMNamespaceValue(java.lang.String rmNamespaceValue)
public java.lang.String getRMSpecVersion()
public void setFlow(int flow)
public int getFlow()
public java.lang.String getGeneratedSequenceId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |