| Communication protocol | |
| Abbreviation | STOMP |
|---|---|
| Purpose | Message-oriented middleware |
| Introduction | () |
| OSI layer | Application layer (Layer 7) |
| Website | stomp |
Simple (or Streaming) Text Oriented Message Protocol (STOMP), formerly known as TTMP, is a simpletext-based protocol, designed for working withmessage-oriented middleware (MOM). It provides an interoperablewire format that allows STOMP clients to talk with anymessage broker supporting the protocol.[1][2]
The protocol is broadly similar toHTTP, and works overTCP using the following commands:[3]
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 anull character. Communication between server and client is through a MESSAGE, RECEIPT or ERROR frame with a similar format of headers and body content.
SENDdestination:/queue/acontent-type:text/plainhello queue a^@
Some message-oriented middleware products support STOMP,[4] such as:
Thiscomputer networking article is astub. You can help Wikipedia byadding missing information. |