Stride
Stomp client for rust using tokio.
stride
aims to provides a full STOMP 1.2 client implementation for the Rust programming language. This allows programs written in Rust to interact with message queueing services like ActiveMQ, RabbitMQ, HornetQ and OpenMQ.
stride
is based heavily on the invactive stomp-rs
- Connect
- Subscribe
- Send
- Acknowledge (Auto/Client/ClientIndividual)
- Transactions
- Receipts
- Disconnect
- Heartbeats
Examples
Connect / Subscribe / Send
// TODO
Session Configuration
// TODO
Message Configuration
// TODO
Subscription Configuration
// TODO
Transactions
// TODO
Handling RECEIPT frames
If you include a ReceiptHandler in your message, the client will request that the server send a receipt when it has successfully processed the frame.
// TODO
Handling ERROR frames
To handle errors, you can register an error handler
// TODO
Cargo.toml
[package]
name = "stomp_test"
version = "0.0.1"
authors = ["your_name_here"]
[[bin]]
name = "stomp_test"
[dependencies.stomp]
stomp = "*"
keywords: Stomp
, Rust
, rust-lang
, rustlang
, cargo
, ActiveMQ
, RabbitMQ
, HornetQ
, OpenMQ
, Message Queue
, MQ
TODO
- Handle message format
- Sample message flow test with real world use cases
- Needed for this:
- test harness
- run server
- client to send messages (can be plain tcp client I guess?)
- Example messages:
- Connect and subscribe
- Connect and publish
- test harness
- Needed for this: