public void setConsumer(JmsConsumerProperties consumer) {
this.consumer = consumer;
}
protected void runJmsClient(String clientName, int clientDestIndex, int clientDestCount) {
ThroughputSamplerTask sampler = getTpSampler();
JmsConsumerClient consumerClient = new JmsConsumerClient(consumer, jmsConnFactory);
consumerClient.setClientName(clientName);
if (sampler != null) {
sampler.registerClient(consumerClient);
}
try {
consumerClient.receiveMessages(clientDestIndex, clientDestCount);
} catch (JMSException e) {