docs.rs failed to build stomp-0.5.1
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 
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 and RabbitMQ.
- 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 ;
use Client;
use MessageHandler;
Transactions
let mut tx = match session.begin_transaction ;
tx.send_text;
tx.send_text;
tx.send_text;
tx.commit; // Or tx.abort();
Receipts
session.send_text_with_receipt;
debug!;
Handling RECEIPT frames
session.on_receipt;
session.send_text_with_receipt;
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, Message Queue, MQ