This shows you the differences between two versions of the page.
— |
dido:public:ra:xapend:xapend.a_glossary:s:stomp [2022/01/11 01:33] (current) nick created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Simple (or Streaming) Text Oriented Message Protocol (STOMP) ====== | ||
+ | [[dido:public:ra:xapend:xapend.a_glossary:start| Return to Glossary ]] | ||
+ | |||
+ | **Simple (or Streaming) Text Oriented Message Protocol (STOMP)**, formerly known as Text Oriented Messaging Protocol(TTMP), is a simple text-based [[[[dido:public:ra:xapend:xapend.a_glossary:p:protocol]]]], designed for working with [[dido:public:ra:xapend:xapend.a_glossary:m:mom]]. It provides an interoperable [[dido:public:ra:xapend:xapend.a_glossary:w:wireprotocol]] format that allows **STOMP** [[dido:public:ra:xapend:xapend.a_glossary:c:client | Clients]] to talk with any [[dido:public:ra:xapend:xapend.a_glossary:m:msg_broker]] supporting the protocol. | ||
+ | |||
+ | The protocol is broadly similar to [[dido:public:ra:xapend:xapend.a_glossary:h:http]], and works over [[dido:public:ra:xapend:xapend.a_glossary:t:tcp]] using the following commands: | ||
+ | |||
+ | * CONNECT | ||
+ | * SEND | ||
+ | * SUBSCRIBE | ||
+ | * UNSUBSCRIBE | ||
+ | * BEGIN | ||
+ | * COMMIT | ||
+ | * ABORT | ||
+ | * ACK | ||
+ | * NACK | ||
+ | * DISCONNECT | ||
+ | |||
+ | Communication between [[dido:public:ra:xapend:xapend.a_glossary:c:client-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. | ||
+ | |||
+ | Source: [[https://en.wikipedia.org/wiki/Streaming_Text_Oriented_Messaging_Protocol ]] | ||
+ | |||
+ | |||
+ | /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | ||
+ | /* To add a discussion page to this page, comment out the line that says | ||
+ | ~~DISCUSSION:off~~ | ||
+ | */ | ||
+ | ~~DISCUSSION:on|Outstanding Issues~~ | ||
+ | ~~DISCUSSION:off~~ | ||