Class UnboundedMessageQueue
- java.lang.Object
-
- org.apache.synapse.mediators.eip.sample.UnboundedMessageQueue
-
- All Implemented Interfaces:
MessageQueue
public class UnboundedMessageQueue extends Object implements MessageQueue
-
-
Constructor Summary
Constructors Constructor Description UnboundedMessageQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(MessageContext synCtx)MessageContextget()booleanisEmpty()booleanisPersistent()voidload()booleanpersist()
-
-
-
Method Detail
-
add
public void add(MessageContext synCtx)
- Specified by:
addin interfaceMessageQueue
-
get
public MessageContext get()
- Specified by:
getin interfaceMessageQueue
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceMessageQueue
-
isPersistent
public boolean isPersistent()
- Specified by:
isPersistentin interfaceMessageQueue
-
persist
public boolean persist()
- Specified by:
persistin interfaceMessageQueue
-
load
public void load()
- Specified by:
loadin interfaceMessageQueue
-
-