docs.rs failed to build stomp-0.10.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
stomp-rs v0.9.0

stomp-rs 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.
- Connect
- Subscribe
- Send
- Acknowledge (Auto/Client/ClientIndividual)
- Transactions
- Receipts
- Disconnect
- Heartbeats
The APIs for stomp-rs are not yet stable and are likely to fluctuate before v1.0.
Examples
Connect / Subscribe / Send
extern crate stomp;
use Frame;
use Ack;
Session Configuration
use Header;
use ;
// ...
let mut session = match session
.with
.with
.with
.start ;
Message Configuration
use ;
// ...
session.message
.with
.with
.with
Subscription Configuration
use AckMode;
use Header;
use Frame;
// ...
let id = session.subscription
.with
.with
.start;
Transactions
match session.begin_transaction ;
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.
session.message
.with
.send;
Handling ERROR frames
session.on_error;
Cargo.toml
[]
= "stomp_test"
= "0.0.1"
= ["your_name_here"]
[[]]
= "stomp_test"
[]
= "*"
keywords: Stomp, Rust, rust-lang, rustlang, cargo, ActiveMQ, RabbitMQ, HornetQ, OpenMQ, Message Queue, MQ