public class JMSMemtest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allMessagesConsumed |
protected MemConsumer |
allMessagesList |
protected BrokerService |
broker |
protected int |
checkpointInterval |
protected Connection |
connection |
protected int |
connectionCheckpointSize |
protected ActiveMQConnectionFactory |
connectionFactory |
protected long |
connectionInterval |
protected int |
consumerCount |
protected MemConsumer[] |
consumers |
protected boolean |
createConnectionPerClient |
protected Destination |
destination |
protected String |
destinationName |
protected boolean |
durable |
protected MemoryMonitoringTool |
memoryMonitoringTool |
protected long |
messageCount |
protected int |
messageSize |
protected Message |
payload |
protected int |
prefetchSize |
protected int |
producerCount |
protected MemProducer[] |
producers |
protected String |
reportDirectory |
protected String |
reportName |
protected boolean |
topic |
protected boolean |
transacted |
protected String |
url |
protected boolean |
useEmbeddedBroker |
| Constructor and Description |
|---|
JMSMemtest(Properties settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
protected void |
closeConsumers() |
protected void |
closeProducers() |
protected void |
configureBroker(BrokerService broker) |
protected BrokerService |
createBroker() |
protected ConnectionFactory |
createConnectionFactory() |
protected void |
createConsumers() |
protected void |
createPayload(Session session) |
protected void |
createProducers() |
protected Properties |
getSysTestSettings() |
static void |
main(String[] args) |
protected void |
publishAndConsume() |
protected boolean |
resetConnection(int counter) |
protected void |
start() |
protected BrokerService broker
protected boolean topic
protected boolean durable
protected long messageCount
protected int connectionCheckpointSize
protected long connectionInterval
protected int consumerCount
protected int producerCount
protected int checkpointInterval
protected int prefetchSize
protected int messageSize
protected String reportDirectory
protected String reportName
protected MemProducer[] producers
protected MemConsumer[] consumers
protected String destinationName
protected boolean allMessagesConsumed
protected MemConsumer allMessagesList
protected ActiveMQConnectionFactory connectionFactory
protected Connection connection
protected Destination destination
protected boolean createConnectionPerClient
protected boolean transacted
protected boolean useEmbeddedBroker
protected MemoryMonitoringTool memoryMonitoringTool
public JMSMemtest(Properties settings)
protected boolean resetConnection(int counter)
protected void publishAndConsume() throws Exception
Exceptionprotected void createPayload(Session session) throws JMSException
JMSExceptionprotected void createProducers() throws JMSException
JMSExceptionprotected void createConsumers() throws JMSException
JMSExceptionprotected void closeProducers() throws JMSException
JMSExceptionprotected void closeConsumers() throws JMSException
JMSExceptionprotected ConnectionFactory createConnectionFactory() throws JMSException
JMSExceptionprotected BrokerService createBroker() throws Exception
Exceptionprotected void configureBroker(BrokerService broker) throws Exception
Exceptionprotected Properties getSysTestSettings()
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.