# File test/test_anonymous.rb, line 85 def test_client_ack_with_symbol_10 if @conn.protocol != Stomp::SPL_10 assert true return end queue = make_destination() @conn.subscribe queue, :ack => :client @conn.publish queue, "test_stomp#test_client_ack_with_symbol_10" msg = @conn.receive assert_nothing_raised { # ACK has one required header, message-id, which must contain a value # matching the message-id for the MESSAGE being acknowledged. @conn.ack msg.headers['message-id'] } checkEmsg(@conn) end