fixing Stomp example

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@932283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-04-09 07:52:40 +00:00
parent 2895197d0d
commit b6eef83ef4
1 changed files with 0 additions and 4 deletions

View File

@ -33,10 +33,6 @@ public class StompExample {
connection.open("localhost", 61613);
connection.connect("system", "manager");
StompFrame connect = connection.receive();
if (!connect.getAction().equals(Stomp.Responses.CONNECTED)) {
throw new Exception ("Not connected");
}
connection.begin("tx1");
connection.send("/queue/test", "message1");