Package org.apache.activemq.tool
Class JmsConsumerSystem
- java.lang.Object
-
- org.apache.activemq.tool.properties.AbstractObjectProperties
-
- org.apache.activemq.tool.AbstractJmsClientSystem
-
- org.apache.activemq.tool.JmsConsumerSystem
-
- All Implemented Interfaces:
ReflectionConfigurable
public class JmsConsumerSystem extends AbstractJmsClientSystem
-
-
Field Summary
Fields Modifier and Type Field Description protected JmsConsumerProperties
consumer
protected JmsConsumerSystemProperties
sysTest
-
Fields inherited from class org.apache.activemq.tool.AbstractJmsClientSystem
clientThreadGroup, factory, jmsConnFactory, tpSampler
-
-
Constructor Summary
Constructors Constructor Description JmsConsumerSystem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientRunBasis
getClientRunBasis()
protected long
getClientRunDuration()
JmsConsumerProperties
getConsumer()
JmsClientProperties
getJmsClientProperties()
JmsClientSystemProperties
getSysTest()
static void
main(String[] args)
protected void
runJmsClient(String clientName, int clientDestIndex, int clientDestCount)
void
setConsumer(JmsConsumerProperties consumer)
void
setSysTest(JmsClientSystemProperties sysTestProps)
-
Methods inherited from class org.apache.activemq.tool.AbstractJmsClientSystem
createPerfWriter, distributeDestinations, getFactory, getTpSampler, loadJmsFactory, parseStringArgs, runSystemTest, setFactory, setProviderMetaData
-
Methods inherited from class org.apache.activemq.tool.properties.AbstractObjectProperties
acceptConfig, configureProperties, retrieveProperties
-
-
-
-
Field Detail
-
sysTest
protected JmsConsumerSystemProperties sysTest
-
consumer
protected JmsConsumerProperties consumer
-
-
Method Detail
-
getSysTest
public JmsClientSystemProperties getSysTest()
- Specified by:
getSysTest
in classAbstractJmsClientSystem
-
setSysTest
public void setSysTest(JmsClientSystemProperties sysTestProps)
- Specified by:
setSysTest
in classAbstractJmsClientSystem
-
getJmsClientProperties
public JmsClientProperties getJmsClientProperties()
- Specified by:
getJmsClientProperties
in classAbstractJmsClientSystem
-
getConsumer
public JmsConsumerProperties getConsumer()
-
setConsumer
public void setConsumer(JmsConsumerProperties consumer)
-
getClientRunBasis
protected ClientRunBasis getClientRunBasis()
- Specified by:
getClientRunBasis
in classAbstractJmsClientSystem
-
getClientRunDuration
protected long getClientRunDuration()
- Specified by:
getClientRunDuration
in classAbstractJmsClientSystem
-
runJmsClient
protected void runJmsClient(String clientName, int clientDestIndex, int clientDestCount)
- Specified by:
runJmsClient
in classAbstractJmsClientSystem
-
main
public static void main(String[] args)
-
-