tweak to fix failing tests

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-03-18 15:41:45 +00:00
parent ae62b70f30
commit 7d90776846
2 changed files with 0 additions and 8 deletions

View File

@ -36,7 +36,6 @@ import javax.management.ObjectName;
import org.apache.activemq.broker.TransportConnector;
import org.apache.activemq.broker.jmx.BrokerViewMBean;
import org.apache.activemq.broker.jmx.QueueViewMBean;
import org.apache.activemq.command.ActiveMQQueue;
import org.apache.activemq.command.ActiveMQTextMessage;
import org.junit.Test;
@ -577,10 +576,6 @@ public class Stomp11Test extends StompTestSupport {
LOG.info("Received Frame: {}", received);
assertTrue(received.getAction().equals("MESSAGE"));
message = "SEND\n" + "destination:/queue/" + getQueueName() +
"\n\n" + "Hello World" + Stomp.NULL;
stompConnection.sendFrame(message);
String ack = "ACK\n" + "message-id:" +
received.getHeaders().get("message-id") + "\n\n" + Stomp.NULL;
stompConnection.sendFrame(ack);

View File

@ -147,9 +147,6 @@ public class Stomp12Test extends StompTestSupport {
assertTrue(received.getHeaders().containsKey(Stomp.Headers.Message.ACK_ID));
assertEquals("1", received.getBody());
message = "SEND\n" + "destination:/queue/" + getQueueName() + "\n\n" + "2" + Stomp.NULL;
stompConnection.sendFrame(message);
String frame = "ACK\n" + "message-id:" +
received.getHeaders().get(Stomp.Headers.Message.ACK_ID) + "\n\n" + Stomp.NULL;
stompConnection.sendFrame(frame);