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

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

  • Why Your QA Engineer Should Be the Most Stubborn Person on the Team
  • How AI Is Rewriting Full-Stack Java Systems: Practical Patterns with Spring Boot, Kafka and WebSockets
  • The Cost of Knowing: When Observability Becomes the Outage
  • The 7 Pillars of Meeting Design: Transforming Expensive Conversations into Decision Assets
  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.7K 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.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

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 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook