This topic describes the differences between Advanced Message Queuing Protocol (AMQP) and Java Message Service (JMS) to help you understand the messaging models, message types, and message flows of the two protocols.
Differences between AMQP and JMS
|Definition||Wire-level messaging protocol||Java API|
|Support for multiple programming languages||Yes||No|
|Messaging model||Four messaging models are supported:
||Two messaging models are supported:
|Message types||Binary data||Five message types are provided:
|Message flow||A producer sends a message to an exchange. The exchange routes the message to a queue. Then, a consumer receives the message from the queue.||A producer sends a message to a queue or topic. Then, a consumer receives the message from the queue or topic.|