Streaming Text Oriented Messaging Protocol

Simple (or Streaming) Text Oriented Message Protocol (STOMP), formerly known as TTMP, is a simple text-based protocol, designed for working with message-oriented middleware (MOM). It provides an interoperable wire format that allows STOMP clients to talk with any message broker supporting the protocol.

Overview

The protocol is broadly similar to HTTP, and works over TCP using the following commands:

  • CONNECT
  • SEND
  • SUBSCRIBE
  • UNSUBSCRIBE
  • BEGIN
  • COMMIT
  • ABORT
  • ACK
  • NACK
  • DISCONNECT

Communication between client and server is through a "frame" consisting of a number of lines. The first line contains the command, followed by headers in the form <key>: <value> (one per line), followed by a blank line and then the body content, ending in a null character. Communication between server and client is through a MESSAGE, RECEIPT or ERROR frame with a similar format of headers and body content.

Implementations

These are some MOM products that support STOMP:

A list of implementations is also maintained on the STOMP web site.

gollark: If you can afford really high bitrates FLAC is better because it's lossless, and at low ones it's apparently beaten by other stuff.
gollark: Opus is very cool because it is open/not patented or whatever and the best available codec for everything except really high or really low bitrates.
gollark: MP3 is apparently "transparent", i.e. sounds the same as uncompressed audio, at 256kbps or so, Opus at lower ones.
gollark: Well, it depends on bitrate too.
gollark: * codec
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.