public interface IMsgHeader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONVERSATION_ID
Message header key for conversation IDs (optional).
|
static java.lang.String |
RECEIVER
Message header key for the receiver.
|
static java.lang.String |
SENDER
Message header key for the sender.
|
static java.lang.String |
XID
Message header key for internal message id (optional).
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String propname,
java.lang.Object propval)
Adds a header property to the header.
|
java.lang.Object |
getProperty(java.lang.String propertyname)
Gets a property stored in the header.
|
IComponentIdentifier |
getReceiver()
Gets the receiver of the message.
|
IComponentIdentifier |
getSender()
Gets the sender of the message.
|
static final java.lang.String SENDER
static final java.lang.String RECEIVER
static final java.lang.String CONVERSATION_ID
static final java.lang.String XID
IComponentIdentifier getSender()
IComponentIdentifier getReceiver()
java.lang.Object getProperty(java.lang.String propertyname)
propertyname
- void addProperty(java.lang.String propname, java.lang.Object propval)
propname
- The property name.propval
- The property value.