9 Replies Latest reply on Nov 5, 2010 4:56 AM by tomjenkinson

    Getting alerted that a queue does not exist with stomp send?

    tomjenkinson

      Hi,

       

      I am sending a message to a non-existant queue using Stomp on HornetQ and am expecting to get an error back but am just getting a receipt?

       

      I have installed Stomp and can send messages to existant destinations just fine (this was really easy - congratulations!).

       

      However now I am trying to get the error this is not working?

       

      I have tried this from code but for ease of discussion I am going to paste in a telnet session that replicates the issue:

       

      (Also note that I tried both the destination name of jms.queue.nothetetet and /queue/nottheretest

       

      [tom@localhost ~]$ telnet localhost 61613
      Trying 127.0.0.1...
      Connected to localhost.
      Escape character is '^]'.
      CONNECT
      login:guest
      passcode:guest

       

      ^@
      CONNECTED
      session:1776663472

       


      SEND
      destination:jms.queue.nothetetet
      receipt:send-xyz

       

      hello?
      ^@
      RECEIPT
      receipt-id:send-xyz

       

       

      Hope you can help me!

      Tom