|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stringtree.jms.InMemoryDestination
org.stringtree.jms.InMemoryQueue
public class InMemoryQueue
Field Summary | |
---|---|
protected java.util.List |
messages
|
Fields inherited from class org.stringtree.jms.InMemoryDestination |
---|
name |
Constructor Summary | |
---|---|
InMemoryQueue()
|
|
InMemoryQueue(java.lang.String name)
|
Method Summary | |
---|---|
javax.jms.Message |
peek()
|
protected void |
publish(javax.jms.Message message)
|
javax.jms.Message |
recieve()
|
void |
reset()
|
int |
size()
|
Methods inherited from class org.stringtree.jms.InMemoryDestination |
---|
add, delete, getQueueName, getTopicName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Topic |
---|
toString |
Methods inherited from interface javax.jms.Queue |
---|
toString |
Field Detail |
---|
protected java.util.List messages
Constructor Detail |
---|
public InMemoryQueue(java.lang.String name)
public InMemoryQueue()
Method Detail |
---|
protected void publish(javax.jms.Message message)
publish
in class InMemoryDestination
public int size()
size
in class InMemoryDestination
public javax.jms.Message peek()
peek
in class InMemoryDestination
public javax.jms.Message recieve()
public void reset()
reset
in class InMemoryDestination
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |