An easy to use STOMP 1.2-compliant STOMP client. Includes various useful features such as inbuilt serialization of user types and classes designed to make custom extensions of the protocol as easy as defining the types and calling a single function - once.
Using STOMPClient is easy:
- Download, add to your solution, and add it to your project references.
- Create a StompClient.STOMPClient object
- Attach listeners to the events that are relevant to you
- Set your properties and call Connect()
The library will take care of negotiating the connection, processing heartbeats, serialization and deserialization, and all other 'boilerplate' work.
- Some useful events are missing, such as ClientDisconnected
- Sending a message still requires manual creation of a StompSendFrame object, and should be folded into a convenience function
- No Disconnect function
STOMPClient also includes a utility RingBuffer class that allows writing, reading, and limited seeking through the buffer.