DefaultMQPushConsumer consumer =
new DefaultMQPushConsumer("benchmark_consumer_"
+ Long.toString(System.currentTimeMillis() % 100));
consumer.setInstanceName(Long.toString(System.currentTimeMillis()));
consumer.subscribe("BenchmarkTest", "*");
consumer.registerMessageListener(new MessageListenerConcurrently() {
@Override
public ConsumeConcurrentlyStatus consumeMessage(List<MessageExt> msgs,
ConsumeConcurrentlyContext context) {