Package org.apache.activemq.tool
Class JmsProducerSystem
- java.lang.Object
-
- org.apache.activemq.tool.properties.AbstractObjectProperties
-
- org.apache.activemq.tool.AbstractJmsClientSystem
-
- org.apache.activemq.tool.JmsProducerSystem
-
- All Implemented Interfaces:
ReflectionConfigurable
public class JmsProducerSystem extends AbstractJmsClientSystem
-
-
Field Summary
Fields Modifier and Type Field Description protected JmsProducerProperties
producer
protected JmsProducerSystemProperties
sysTest
-
Fields inherited from class org.apache.activemq.tool.AbstractJmsClientSystem
clientThreadGroup, factory, jmsConnFactory, tpSampler
-
-
Constructor Summary
Constructors Constructor Description JmsProducerSystem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientRunBasis
getClientRunBasis()
protected long
getClientRunDuration()
JmsClientProperties
getJmsClientProperties()
JmsProducerProperties
getProducer()
JmsClientSystemProperties
getSysTest()
static void
main(String[] args)
protected void
runJmsClient(String clientName, int clientDestIndex, int clientDestCount)
void
setProducer(JmsProducerProperties producer)
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 JmsProducerSystemProperties sysTest
-
producer
protected JmsProducerProperties producer
-
-
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
-
getProducer
public JmsProducerProperties getProducer()
-
setProducer
public void setProducer(JmsProducerProperties producer)
-
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)
-
-