1, the difference between the communication platform
JMS: Only allow communication between the Java-based implementation of the messaging platform
AMQP: Allows multiple message protocols to communicate, such as Ruby's Storm and Java JMS can communicate on AMQP.
Conclusion: AMQP allows multiple techniques for simultaneous protocol communication
2, the difference of communication mechanism
JMS: Message producers and message consumers must know each other's queue
AMQP: Message producers and message consumers do not need to know each other's queue, and the message producer binds exchange through route key and any queue. Message consumers get Exchange from any queue with route key.
3, the difference between the message transmission mechanism
JMS: Support for Point-to-point (point-to-point, PTP), Publish/Subscribe (Publish/subscribe, abbreviated PUB/SUB)
AMQP: Based on headers matching, matching by routing key, one exchange binds multiple queue, multiple Exchange binds to a queue
4. Other differences: The difference between the message body