# File test/test_anonymous.rb, line 124 def test_client_ack_with_symbol_12 if @conn.protocol != Stomp::SPL_12 assert true return end sid = @conn.uuid() queue = make_destination() @conn.subscribe queue, :ack => :client, :id => sid @conn.publish queue, "test_stomp#test_client_ack_with_symbol_11" msg = @conn.receive assert_nothing_raised { # The ACK frame MUST include an id header matching the ack header # of the MESSAGE being acknowledged. @conn.ack msg.headers['ack'] } checkEmsg(@conn) end