STOMP
Also called: Simple Text Oriented Messaging Protocol, STOMP 1.2
STOMP is a simple protocol for exchanging messages through a server. STOMP 1.2 frames have a command, headers and an optional body, which may contain binary data. Clients use commands such as SEND and SUBSCRIBE; servers deliver MESSAGE frames. Destination strings are intentionally opaque, so their queue or topic behavior depends on the server.
For example, a worker subscribes to a broker’s /queue/labels destination using ack:client-individual. After handling a MESSAGE, it sends the corresponding ACK. That path is a broker convention, not a universal STOMP naming rule. Choosing auto acknowledgment changes the guarantee: the server assumes delivery when it sends the message, rather than waiting for an explicit client acknowledgment.
- Read first
- Message broker
- Further reading
- STOMP — Protocol specification 1.2