19. Messaging
it
not
just
JMS
Other
popular
protocols:
• AMQP
(Advanced
Message
Queuing
Protocol)
• STOMP
(Simple
(or
Streaming)
Text
Oriented
Message
Protocol)
…
21. STOMP
Simple
protocol
for
asynchronous
message
passing
Originally
created
for
scrip-ng
languages
(Python,
Ruby)
Supported
by
message
brokers
Suited
for
use
on
the
Web
(used
iover
WebSocket
protocol)
Simple
stream
of
frames
over
TCP
Client-‐to-‐Server
commands:
COMMAND
header1:value1
header2:value2
Body^@
SEND
SUBSCRIBE
UNSUBSCRIBE
Server-‐to-‐Client
commands:
MESSAGE
ERROR
ACK
NACK