Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Streaming Text Oriented Messaging Protocol

From Wikipedia, the free encyclopedia
Communications protocol
Streaming Text Oriented Messaging Protocol
Communication protocol
AbbreviationSTOMP
PurposeMessage-oriented middleware
Introduction ()
OSI layerApplication layer (Layer 7)
Websitestomp.github.io

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]

Overview

[edit]

The protocol is broadly similar toHTTP, and works overTCP using the following commands:[3]

  • 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 anull character. Communication between server and client is through a MESSAGE, RECEIPT or ERROR frame with a similar format of headers and body content.

Example

[edit]
SENDdestination:/queue/acontent-type:text/plainhello queue a^@

Implementations

[edit]

Some message-oriented middleware products support STOMP,[4] such as:

References

[edit]
  1. ^"STOMP - The Simple Text Oriented Messaging Protocol".stomp.github.io.
  2. ^Vanessa Wang; Frank Salim; Peter Moskovits (2013)."Using Messaging over WebSocket with STOMP".The Definitive Guide to HTML5 WebSocket. Apress. pp. 85–108.doi:10.1007/978-1-4302-4741-8_5.ISBN 978-1-4302-4740-1.
  3. ^"STOMP Protocol Specification, Version 1.2".stomp.github.io.
  4. ^"STOMP Servers".stomp.github.io.
  5. ^"Red Hat Fuse - Distributed, cloud-native integration platform".developers.redhat.com. 23 October 2024.
  6. ^"STOMP Plugin".rabbitmq.com.
  7. ^"syslog-ng documentation - stomp() destination options".syslog-ng.github.io.
  8. ^"Spring Framework - STOMP".docs.spring.io.


Stub icon

Thiscomputer networking article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Streaming_Text_Oriented_Messaging_Protocol&oldid=1335250610"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp