GigaSpaces XAP 7.0 API

org.openspaces.esb.mule.message
Interface MessageHeader

All Known Subinterfaces:
CorrelationMessageHeader, ReplyToMessageHeader, UniqueIdMessageHeader
All Known Implementing Classes:
AbstractMessageHeader

public interface MessageHeader

Base interface that expose mule meta data.

Note: implementation of this interface must have consistent results with equivalent get/set Property method.

Author:
yitzhaki

Method Summary
 MatchingMap<String,Object> getProperties()
           
 Object getProperty(String key)
           
 void setProperties(MatchingMap<String,Object> properties)
          Sets all the properties from the properties param.
 void setProperty(String key, Object value)
           
 

Method Detail

setProperty

void setProperty(String key,
                 Object value)
Parameters:
key - the key to be placed into this property list.
value - the value corresponding to key.
See Also:
getProperty(java.lang.String)

getProperty

Object getProperty(String key)
Parameters:
key - the property key.
Returns:
the value in this property list with the specified key value.
See Also:
setProperty(java.lang.String, java.lang.Object)

getProperties

MatchingMap<String,Object> getProperties()
Returns:
Map that contains all the properties.

setProperties

void setProperties(MatchingMap<String,Object> properties)
Sets all the properties from the properties param.

Parameters:
properties - - properties to set.

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.