java.lang.Object
org.activemq.benchmark.BenchmarkSupport
org.activemq.benchmark.Producer
org.activemq.benchmark.ProducerConsumer
- public class ProducerConsumer
- extends Producer
- Version:
- $Revision$
| Methods inherited from class org.activemq.benchmark.BenchmarkSupport |
addResource, asMemoryString, count, createDestination, createFactory, createSession, getConnectionCount, getFactory, getUrl, isDurable, isEmbeddedBroker, isTopic, parseBoolean, resetCount, setConnectionCount, setDurable, setEmbeddedBroker, setFactory, start, timerLoop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
consumer
private Consumer consumer
ProducerConsumer
public ProducerConsumer()
main
public static void main(java.lang.String[] args)
run
public void run()
throws java.lang.Exception
- Overrides:
run in class Producer
setTopic
public void setTopic(boolean topic)
- Overrides:
setTopic in class BenchmarkSupport
setSubject
public void setSubject(java.lang.String subject)
- Overrides:
setSubject in class BenchmarkSupport
setUrl
public void setUrl(java.lang.String url)
- Overrides:
setUrl in class BenchmarkSupport
useTimerLoop
protected boolean useTimerLoop()
- Overrides:
useTimerLoop in class BenchmarkSupport