|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.exolab.jmscts.core.CountingListener
|
+--org.exolab.jmscts.stress.AckingListener
Listener which counts and acks each message it receives
CountingListener| Constructor Summary | |
AckingListener(int expected)
Construct an instance of the listener, with the number of messages expected to be received. |
|
| Method Summary | |
void |
onMessage(javax.jms.Message message)
This method is asynchronously invoked by the message consumer when a message becomes available. |
| Methods inherited from class org.exolab.jmscts.core.CountingListener |
getExpected, getReceived, waitForCompletion, waitForCompletion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AckingListener(int expected)
expected - the number of messages expected| Method Detail |
public void onMessage(javax.jms.Message message)
onMessage in class CountingListenermessage - the received message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||