The examples below are individual examples which you need to cd into the corresponding directory to run the example with cargo run
| Name | Description |
|---|---|
| quick_start | A simple example to get you started |
| sender | A simple sender with default configuration |
| dynamic_sender | Request the receiving peer to dynamically create a node at target |
| send_with_custom_properties | Send a message with customized message sections |
| receiver | A simple receiver with default configuration |
| receiver_auto_accept | A simple receiver that accepts incoming deliveries automatically |
| dynamic_receiver | Request the sending peer to dynamically create a node at source |
| recv_with_filter | Receive message with filter |
| batchable_send | A simple sender that sends multiple messages but doesn't require immediate disposition |
| dispose_multiple | A simple receiver that disposes multiple deliveries in one Disposition frame (if all deliveries are consecutive) |
| listener | A simple listener that handles incoming connections, sessions, and links |
| Name | Description |
|---|---|
| rustls_connection | Establish TLS connection with default and custom rustls connectors |
| native_tls_connection | Establish TLS connection with default and custom native-tls connectors |
| alternative_tls_connection | Alternative establishment of TLS connection (core spec 5.2.1) |
| sasl_connection | Establish connection with SASL Plain/SCRAM-SHA-1/SCRAM-SHA-256 |
| tls_sasl_connection | Establish connection with default rustls connector and SASL Plain |
| sasl_listener | SASL layer on listener |
| Name | Description |
|---|---|
| txn_posting | Transactional posting with an explicit control link |
| owned_txn_posting | Transactional posting with an implicit control link |
| txn_retirement | Transactional retirement with an explicit control link |
| owned_txn_retirement | Transactional retirement with an implicit control link |
| txn_enabled_listener | Allow handling remotely initated transaction on the listener |
| Name | Description |
|---|---|
| websocket | AMQP 1.0 over websocket |
| wasm32-in-browser | AMQP 1.0 in browser |
| service_bus | Sending to / receiving from Azure Service Bus |
| service_bus_over_websocket | Sending to / receiving from Azure Service Bus over WebSocket |
| event_hubs | Send to and receive from Azure Event Hubs |
| activemq | ActiveMQ requires alternative TLS establishment |
| cancel safety | Shows cancel safety with Receiver::recv() |
| qpid_management_framework | Shows how to work with Qpid Management Framework |
- TLS layer with rustls on listner
- TLS layer with native-tls on listner
- TLS + SASL on listner