Additional test to show that https://issues.apache.org/jira/browse/AMQ-3802 is a non-issue.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2012-04-14 20:25:00 +00:00
parent 64a1c9bccc
commit 2f0ef2e670
1 changed files with 2 additions and 1 deletions

View File

@ -1418,7 +1418,7 @@ public class StompTest extends CombinationTestSupport {
assertTrue(frame.startsWith("CONNECTED"));
// unsubscribe
frame = "UNSUBSCRIBE\n" + "destination:/topic/" + getQueueName() + "\n" + "ack:auto\nactivemq.subscriptionName:test\n\n" + Stomp.NULL;
frame = "UNSUBSCRIBE\n" + "destination:/topic/" + getQueueName() + "\n" + "activemq.subscriptionName:test\n\n" + Stomp.NULL;
stompConnection.sendFrame(frame);
frame = "DISCONNECT\n" + "\n\n" + Stomp.NULL;
stompConnection.sendFrame(frame);
@ -1426,6 +1426,7 @@ public class StompTest extends CombinationTestSupport {
Thread.sleep(400);
} catch (InterruptedException e){}
assertEquals(view.getDurableTopicSubscribers().length, 0);
assertEquals(view.getInactiveDurableTopicSubscribers().length, 0);
}
public void testMessageIdHeader() throws Exception {