DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Related

  • Getting Started With JMS-ActiveMQ: Explained in a Simple Way
  • JQueue: A Library to Implement the Outbox Pattern
  • From J2EE to Jakarta EE
  • Java and MongoDB Integration: A CRUD Tutorial [Video Tutorial]

Trending

  • Building an SQL to DataFrame Converter With ANTLR
  • What Is Plagiarism? How to Avoid It and Cite Sources
  • Context Search With AWS Bedrock, Cohere Model, and Spring AI
  • Building Smarter Chatbots: Using AI to Generate Reflective and Personalized Responses
  1. DZone
  2. Coding
  3. Java
  4. JMS vs RabbitMQ

JMS vs RabbitMQ

By 
Saeid Siavashi user avatar
Saeid Siavashi
·
Jul. 30, 13 · Interview
Likes (16)
Comment
Save
Tweet
Share
51.4K Views

Join the DZone community and get the full member experience.

Join For Free

Definition :

JMS : Java Message Service is an API that is part of Java EE for sending messages between two or more clients.  There are many JMS providers such as OpenMQ (glassfish’s default), HornetQ(Jboss), and ActiveMQ.

RabbitMQ: is an open source message broker software which uses the AMQP standard and is written by Erlang.

Messaging Model:

JMS supports two models: one to one and publish/subscriber. RabbitMQ supports the AMQP model which has 4 models : direct, fanout, topic, headers.

Data types:

JMS supports 5 different data types but RabbitMQ supports only the binary data type.

Workflow strategy:

In AMQP, producers send to the exchange then the queue, but in JMS, producers send to the queue or topic directly.

Technology compatibility:

JMS is specific for java users only, but RabbitMQ supports many technologies.

Performance:

If you would like to know more about their performance, this benchmark is a good place to start, but look for others as well.

Open source Relational database Java Message Service Java EE Message broker Data (computing) Java (programming language) producer workflow

Opinions expressed by DZone contributors are their own.

Related

  • Getting Started With JMS-ActiveMQ: Explained in a Simple Way
  • JQueue: A Library to Implement the Outbox Pattern
  • From J2EE to Jakarta EE
  • Java and MongoDB Integration: A CRUD Tutorial [Video Tutorial]

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: