org.apache.synapse.mediators.eip.sample
Class UnboundedMessageQueue

java.lang.Object
  extended by org.apache.synapse.mediators.eip.sample.UnboundedMessageQueue
All Implemented Interfaces:
MessageQueue

public class UnboundedMessageQueue
extends Object
implements MessageQueue


Constructor Summary
UnboundedMessageQueue()
           
 
Method Summary
 void add(MessageContext synCtx)
           
 MessageContext get()
           
 boolean isEmpty()
           
 boolean isPersistent()
           
 void load()
           
 boolean persist()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnboundedMessageQueue

public UnboundedMessageQueue()
Method Detail

add

public void add(MessageContext synCtx)
Specified by:
add in interface MessageQueue

get

public MessageContext get()
Specified by:
get in interface MessageQueue

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface MessageQueue

isPersistent

public boolean isPersistent()
Specified by:
isPersistent in interface MessageQueue

persist

public boolean persist()
Specified by:
persist in interface MessageQueue

load

public void load()
Specified by:
load in interface MessageQueue


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.