Class SynapseMessage
- java.lang.Object
-
- org.apache.synapse.message.store.impl.commons.SynapseMessage
-
- All Implemented Interfaces:
Serializable
public class SynapseMessage extends Object implements Serializable
This class serves as a container for the Synapse Message Context parameters/properties , and it will be saved as a message in the Store.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SynapseMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocalEntry(String key)voidaddProperty(String key, String value)voidaddPropertyObject(String key, byte[] value)List<String>getLocalEntries()intgetMessageFlowTracingState()HashMap<String,String>getProperties()HashMap<String,byte[]>getPropertyObjects()intgetTracingState()booleanisFaultResponse()booleanisResponse()voidsetFaultResponse(boolean faultResponse)voidsetMessageFlowTracingState(int messageFlowTracingState)voidsetResponse(boolean response)voidsetTracingState(int tracingState)
-
-
-
Method Detail
-
isResponse
public boolean isResponse()
-
setResponse
public void setResponse(boolean response)
-
isFaultResponse
public boolean isFaultResponse()
-
setFaultResponse
public void setFaultResponse(boolean faultResponse)
-
getTracingState
public int getTracingState()
-
setTracingState
public void setTracingState(int tracingState)
-
addPropertyObject
public void addPropertyObject(String key, byte[] value)
-
addLocalEntry
public void addLocalEntry(String key)
-
getMessageFlowTracingState
public int getMessageFlowTracingState()
-
setMessageFlowTracingState
public void setMessageFlowTracingState(int messageFlowTracingState)
-
-