public class StompProducerTest extends StompBaseTest {
@Test
public void testProduce() throws Exception {
Stomp stomp = new Stomp("tcp://localhost:" + getPort());
final BlockingConnection subscribeConnection = stomp.connectBlocking();
StompFrame frame = new StompFrame(SUBSCRIBE);
frame.addHeader(DESTINATION, StompFrame.encodeHeader("/queue/test"));
frame.addHeader(ID, subscribeConnection.nextId());
StompFrame response = subscribeConnection.request(frame);