Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Difference between AMQP and JMS

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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).
AbstractionAMQP is a protocol.JMS is a standard API.
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
Last Updated : 01 Jul, 2022
Like Article
Save Article
Similar Reads