RabbitMQ Web STOMP Examples > Temporary Queue

When you type text in the form's input, the application will send a message to the /queue/test destination with the reply-to header set to /temp-queue/foo.

The STOMP client sets a default onreceive callback to receive messages from this temporary queue and display the message's text.

Finally, the client subscribes to the /queue/test destination. When it receives message from this destination, it reverses the message's text and reply by sending the reversed text to the destination defined by the message's reply-to header.

Received

Logs