Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Difference between AMQP and JMS

  • Last Updated : 17 Jul, 2020

1. Advanced Message Queuing Protocol (AMQP) :
It is a protocol that is used for communication between applications. It is a lightweight, protocol which supports the applications for its transfer of data. This protocol is used for it scalability and modularity with the technologies.

2. Java Message Service (JMS) :
It is an application program interface (API) that supports the communication for the computer in a network. It is a powerful API used for receiving the messages generated during the communication.



Differences between AMQP and JMS :

Basis ofAMQPJMS
AbbreviationAdvanced Message Queuing Protocol.Java Message Service.
Developed byIt was developed by JPMorgan Chase.It was developed by Sun Microsystems.
WorkingAll the AMQP compatible clients can talk to each other.The application should use JMS API to communicate.
Message Model usedIt uses Direct, Fanout, Topic and Headers.It uses Publish/Subscribe and P2P (Point to Point).
Data types usedAMQP only uses and supports binary data type.JMS supports five data types named MapMessage, ObjectMessage, Text message, StreamMessage and BytesMessage.
SecuritySecurity is supported by Simple Authentication and Security Layer (SASL).Security is not provided and it is depended with the JMS provider.
Data FlowIt is the producers which sends the message and then it is queued.It is managed by the producers and send directly to the topic.
Technology flexibilityIt is flexible with many technologies.It is not technology flexible as made only for Java.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!