Chapter 2
Message Protocols and Standards
Message Protocols and Standards
In this chapter, we explore the protocols and standards that govern how messages are formatted, transmitted, and processed in enterprise environments.
AMQP (Advanced Message Queuing Protocol)
AMQP is an open standard application layer protocol for message-oriented middleware. It defines:
AMQP Key Features:
MQTT (Message Queuing Telemetry Transport)
MQTT is a lightweight publish/subscribe messaging protocol, ideal for IoT and mobile applications.
MQTT Characteristics:
JMS (Java Message Service)
JMS is a Java API for message-oriented middleware. It provides:
Message Formats
JSON
XML
Protocol Buffers (Protobuf)
Summary
Understanding these protocols helps you select the right tool for different messaging scenarios. The TT1 exam tests knowledge of protocol differences, use cases, and trade-offs.