org.openspaces.esb.mule.message
Class AbstractMessageHeader
java.lang.Object
org.openspaces.esb.mule.message.AbstractMessageHeader
- All Implemented Interfaces:
- CorrelationMessageHeader, MessageHeader, ReplyToMessageHeader, UniqueIdMessageHeader
public abstract class AbstractMessageHeader
- extends Object
- implements CorrelationMessageHeader, ReplyToMessageHeader, UniqueIdMessageHeader
implemention of all Mule metadata interfaces.
This class should be extended by any Class that wish to hold Mule metadata attributes.
- Author:
- yitzhaki
AbstractMessageHeader
public AbstractMessageHeader()
propertyNames
public Iterator<String> propertyNames()
getProperties
public MatchingMap<String,Object> getProperties()
- Specified by:
getProperties
in interface MessageHeader
- Returns:
Map
that contains all the properties.
setProperties
public void setProperties(MatchingMap<String,Object> properties)
- Description copied from interface:
MessageHeader
- Sets all the properties from the properties param.
- Specified by:
setProperties
in interface MessageHeader
- Parameters:
properties
- - properties to set.
setProperty
public void setProperty(String key,
Object value)
- Specified by:
setProperty
in interface MessageHeader
- Parameters:
key
- the key to be placed into this property list.value
- the value corresponding to key.- See Also:
MessageHeader.getProperty(java.lang.String)
getProperty
public Object getProperty(String key)
- Specified by:
getProperty
in interface MessageHeader
- Parameters:
key
- the property key.
- Returns:
- the value in this property list with the specified key value.
- See Also:
MessageHeader.setProperty(java.lang.String, java.lang.Object)
getReplyTo
public Object getReplyTo()
- Specified by:
getReplyTo
in interface ReplyToMessageHeader
setReplyTo
public void setReplyTo(Object replyTo)
- Specified by:
setReplyTo
in interface ReplyToMessageHeader
setUniqueId
public void setUniqueId(String id)
- Specified by:
setUniqueId
in interface UniqueIdMessageHeader
getUniqueId
public String getUniqueId()
- Specified by:
getUniqueId
in interface UniqueIdMessageHeader
getCorrelationId
public String getCorrelationId()
- Specified by:
getCorrelationId
in interface CorrelationMessageHeader
setCorrelationId
public void setCorrelationId(String correlationId)
- Specified by:
setCorrelationId
in interface CorrelationMessageHeader
getCorrelationSequence
public Integer getCorrelationSequence()
- Specified by:
getCorrelationSequence
in interface CorrelationMessageHeader
setCorrelationSequence
public void setCorrelationSequence(Integer correlationSequence)
- Specified by:
setCorrelationSequence
in interface CorrelationMessageHeader
getCorrelationGroupSize
public Integer getCorrelationGroupSize()
- Specified by:
getCorrelationGroupSize
in interface CorrelationMessageHeader
setCorrelationGroupSize
public void setCorrelationGroupSize(Integer correlationGroupSize)
- Specified by:
setCorrelationGroupSize
in interface CorrelationMessageHeader
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.