|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.benchmark.BenchmarkSupport
org.apache.activemq.benchmark.Consumer
public class Consumer
| Field Summary |
|---|
| Fields inherited from class org.apache.activemq.benchmark.BenchmarkSupport |
|---|
batch, connectionCount, destination, subjects |
| Constructor Summary | |
|---|---|
Consumer()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
onMessage(javax.jms.Message message)
|
void |
run()
|
protected void |
subscribe()
|
protected void |
subscribe(java.lang.String subject)
|
| Methods inherited from class org.apache.activemq.benchmark.BenchmarkSupport |
|---|
addResource, asMemoryString, count, createDestination, createFactory, createSession, getConnectionCount, getCounter, getFactory, getUrl, isDurable, isTopic, parseBoolean, resetCount, setConnectionCount, setDurable, setFactory, setSubject, setTimerLoop, setTopic, setUrl, start, timerLoop, useTimerLoop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Consumer()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public void run()
throws javax.jms.JMSException
javax.jms.JMSException
protected void subscribe()
throws javax.jms.JMSException
javax.jms.JMSException
protected void subscribe(java.lang.String subject)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||