public abstract class AbstractMessageHeader extends Object implements CorrelationMessageHeader, ReplyToMessageHeader, UniqueIdMessageHeader
CORRELATION_GROUP_SIZE, CORRELATION_ID, CORRELATION_SEQUENCE
REPLY_TO
UNIQUE_ID
Constructor and Description |
---|
AbstractMessageHeader() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getCorrelationGroupSize() |
String |
getCorrelationId() |
Integer |
getCorrelationSequence() |
MatchingMap<String,Object> |
getProperties() |
Object |
getProperty(String key) |
Object |
getReplyTo() |
String |
getUniqueId() |
int |
hashCode() |
Iterator<String> |
propertyNames() |
void |
setCorrelationGroupSize(Integer correlationGroupSize) |
void |
setCorrelationId(String correlationId) |
void |
setCorrelationSequence(Integer correlationSequence) |
void |
setProperties(MatchingMap<String,Object> properties)
Sets all the properties from the properties param.
|
void |
setProperty(String key,
Object value) |
void |
setReplyTo(Object replyTo) |
void |
setUniqueId(String id) |
String |
toString() |
public MatchingMap<String,Object> getProperties()
getProperties
in interface MessageHeader
Map
that contains all the properties.public void setProperties(MatchingMap<String,Object> properties)
MessageHeader
setProperties
in interface MessageHeader
properties
- - properties to set.public void setProperty(String key, Object value)
setProperty
in interface MessageHeader
key
- the key to be placed into this property list.value
- the value corresponding to key.MessageHeader.getProperty(java.lang.String)
public Object getProperty(String key)
getProperty
in interface MessageHeader
key
- the property key.MessageHeader.setProperty(java.lang.String, java.lang.Object)
public Object getReplyTo()
getReplyTo
in interface ReplyToMessageHeader
public void setReplyTo(Object replyTo)
setReplyTo
in interface ReplyToMessageHeader
public void setUniqueId(String id)
setUniqueId
in interface UniqueIdMessageHeader
public String getUniqueId()
getUniqueId
in interface UniqueIdMessageHeader
public String getCorrelationId()
getCorrelationId
in interface CorrelationMessageHeader
public void setCorrelationId(String correlationId)
setCorrelationId
in interface CorrelationMessageHeader
public Integer getCorrelationSequence()
getCorrelationSequence
in interface CorrelationMessageHeader
public void setCorrelationSequence(Integer correlationSequence)
setCorrelationSequence
in interface CorrelationMessageHeader
public Integer getCorrelationGroupSize()
getCorrelationGroupSize
in interface CorrelationMessageHeader
public void setCorrelationGroupSize(Integer correlationGroupSize)
setCorrelationGroupSize
in interface CorrelationMessageHeader
Copyright © GigaSpaces.