Streaming Text Orientated Messaging Protocol

From Wikipedia, the free encyclopedia

Streaming Text Orientated Message Protocol (STOMP), briefly known as TTMP, is a simple text protocol designed for working with Message Oriented Middleware.

It provides an interoperable wire format that allows Stomp Clients to talk with any Stomp Message Broker. It is similar to OpenWire

Due to the simplicity of its design it is very easy to develop clients and many exist for different languages and platforms.

The most popular of the Stomp Message Brokers is built by the Apache Software Foundation with the project name of ActiveMQ.


The protocol works over TCP using the following commands:

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


A Ruby STOMP server was built by Patrick Hurley who used the work of Francis Cianfrocca.


[edit] External links