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
Please enter at least three characters to search
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

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • OPC-UA and MQTT: A Guide to Protocols, Python Implementations
  • Python and Open-Source Libraries for Efficient PDF Management
  • Essential Python Libraries: Introduction to NumPy and Pandas
  • OpenCV Integration With Live 360 Video for Robotics

Trending

  • A Modern Stack for Building Scalable Systems
  • Endpoint Security Controls: Designing a Secure Endpoint Architecture, Part 1
  • Transforming AI-Driven Data Analytics with DeepSeek: A New Era of Intelligent Insights
  • How AI Agents Are Transforming Enterprise Automation Architecture
  1. DZone
  2. Coding
  3. Languages
  4. An Introduction to STOMP

An Introduction to STOMP

By 
Marcelo Jabali user avatar
Marcelo Jabali
·
Jan. 15, 13 · Interview
Likes (3)
Comment
Save
Tweet
Share
34.8K Views

Join the DZone community and get the full member experience.

Join For Free

STOMP (Simple (or Streaming) Text-Oriented Messaging Protocol) is a simple text-oriented protocol, similar to HTTP.


STOMP provides an interoperable wire format that allows clients to communicate with almost every available message broker. STOMP is easy to implement and gives you flexibility since it is language-agnostic, meaning clients and brokers developed in different languages can send and receive messages to and from each other.
There are lots of server implementations that support STOMP (mostly compliant with the STOMP 1.0 specification). The following is a list of STOMP 1.0 compliant message servers:


  • Apache ActiveMQ – http://activemq.apache.org
  • Apache Apollo – http://activemq.apache.org/apollo
  • CoilMQ – http://code.google.com/p/coilmq
  • Gozirra - http://www.germane-software.com/software/Java/Gozirra
  • HornetQ – http://www.jboss.com/hornetq
  • MorbidQ – http://www.morbidq.com
  • RabbitMQ - http://www.rabbitmq.com/plugins.html#rabbitmq-stomp
  • Sprinkle - http://www.thuswise.org/sprinkle/index.html
  • StompServer - http://stompserver.rubyforge.org/


On the client side, there are many implementations for a vast number of technologies. Below, you will find the libraries available for the most popular languages.
Language
Libraries
C
libstomp - http://stomp.codehaus.org/C
C++
Apache CMS - http://activemq.apache.org/cms/
C# and .Net
Apache NMS - http://activemq.apache.org/nms/
Flash
as3-stomp - http://code.google.com/p/as3-stomp/
Java
Gozirra - http://www.germane-software.com/software/Java/Gozirra/
Objective-C
objc-stomp - https://github.com/juretta/objc-stomp
Perl
Net::Stomp::Client - http://search.cpan.org/dist/Net-STOMP-Client/
Net::Stomp - http://search.cpan.org/dist/Net-Stomp/
PHP
stomp - http://www.php.net/manual/en/book.stomp.php
stomp-php - http://stomp.fusesource.org/documentation/php/book.html
Python
stomper - https://github.com/oisinmulvihill/stomper
stomp.py - http://code.google.com/p/stomppy/
Ruby on Rails
stomp gem - https://rubygems.org/gems/stomp 
activemessaging - http://code.google.com/p/activemessaging/
STOMP is an alternative to other open messaging protocols such as AMQP (Advanced Message Queueing Protocol) and implementation specific wire protocols used in JMS (Java Message Service) brokers such as OpenWire. It distinguishes itself by covering a small subset of commonly used messaging operations (commands) rather than providing a comprehensive messaging API. 
Because STOMP is language-agnostic and easy to implement, it’s popular to application developers and technical architects alike. STOMP is also text-based. Since it does not use binary protocols like other message brokers, a wide range of client technologies work with STOMP, like Ruby, Python, and Perl.
STOMP is simple to implement, but supports a wide range of core enterprise messaging features, such as authentication, messaging models (point to point and publish and subscribe), message acknowledgement, transactions, message headers and properties, etc.
Protocol (object-oriented programming) Apache ActiveMQ Objective C Implementation Perl (programming language) Python (language) Library application Acknowledgement (data networks)

Published at DZone with permission of Marcelo Jabali, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • OPC-UA and MQTT: A Guide to Protocols, Python Implementations
  • Python and Open-Source Libraries for Efficient PDF Management
  • Essential Python Libraries: Introduction to NumPy and Pandas
  • OpenCV Integration With Live 360 Video for Robotics

Partner Resources

×

Comments
Oops! Something Went Wrong

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
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!