package com.taobao.meta.test; import org.junit.Test; /** * meta���ɲ���_������ * * @author gongyangyu(gongyangyu@taobao.com) * */ public class BlankDataTest extends BaseMetaTest { private final String topic = "meta-test"; @Test public void sendConsume() throws Exception { createProducer(); // ��Ҫ����topic producer.publish(this.topic); // �����߱���ָ������ createConsumer("group1"); try { // ������Ϣ final int count = 5; sendMessage2(count, "", this.topic); // ���Ľ�����Ϣ����֤������ȷ subscribe(this.topic, 1024 * 1024, count); } finally { producer.shutdown(); consumer.shutdown(); } } }