• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 979
  • Last Modified:

java sample code for STOMP(The Simple Text Oriented Messaging Protocol)

I want to make a STOMP client program in JAVA.

any sample source code available?
1 Solution
mccarlIT Business Systems Analyst / Software DeveloperCommented:
You first would need to choose a library that implements the STOMP protocol. These are some that I am aware of. We looked at using STOMP a year or so ago and so I have some cursory knowledge of these libraries but we then decided on a different path, so I don't have a particularly in-depth feel for either of them. You might want to try both and see which is easier to use and/or more appropriate for you needs.

Gozirra - http://www.germane-software.com/software/Java/Gozirra/
stompj - http://code.google.com/p/stompj/wiki/GettingStarted

 or.... Write your own low-level client based on the STOMP specs (http://stomp.github.io/stomp-specification-1.2.html)

Those pages also have some simple code to get you started using each library, so I would suggest just having a go, but if you have any sort of issues with them, just let us know and we can help!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now