Differences between JMS and AMQP

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.