org.activemq.benchmark
Class ProducerConsumer
java.lang.Object
org.activemq.benchmark.BenchmarkSupport
org.activemq.benchmark.Producer
org.activemq.benchmark.ProducerConsumer
public class ProducerConsumer
- extends Producer
- Version:
- $Revision$
- Author:
- James Strachan
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 |
ProducerConsumer
public ProducerConsumer()
main
public static void main(String[] args)
run
public void run()
throws Exception
- Overrides:
run
in class Producer
- Throws:
Exception
setTopic
public void setTopic(boolean topic)
- Overrides:
setTopic
in class BenchmarkSupport
setSubject
public void setSubject(String subject)
- Overrides:
setSubject
in class BenchmarkSupport
setUrl
public void setUrl(String url)
- Overrides:
setUrl
in class BenchmarkSupport
useTimerLoop
protected boolean useTimerLoop()
- Overrides:
useTimerLoop
in class BenchmarkSupport
Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.