ntex-rs / ntex-amqp Goto Github PK
View Code? Open in Web Editor NEWAMQP 1.0 Server framework
License: Apache License 2.0
AMQP 1.0 Server framework
License: Apache License 2.0
fail to make client to connect to ActiveMq broker throw AMQP 1.0 I use the following example
but it give me run time exception for connection result
thread 'main' panicked at 'called Result::unwrap()
on an Err
value: Connect(Resolver(ResolveError { kind: NoRecordsFound { query: Query { name: Name { is_fqdn: false, labels: [ampq] }, query_type: AAAA, query_class: IN }, valid_until: Some(Instant { t: 389237.4048147s }) }, backtrack: None }))', src\main.rs:12:10
stack backtrace:
and in activemq log it gives me that
WARN | Transport Connection to: tcp://127.0.0.1:57964 failed: org.apache.activemq.transport.amqp.AmqpProtocolException: Connection from client using unsupported AMQP attempted
use ntex_amqp::client;
#[ntex::main]
async fn main() -> std::io::Result<()> {
std::env::set_var("RUST_LOG", "ntex=trace,ntex_amqp=trace,basic=trace");
let driver = client::Connector::new()
.connect("ampq://127.0.0.1:5672")
.await
.unwrap();
let sink = driver.sink();
ntex::rt::spawn(driver.start_default());
let _session = sink.open_session().await.unwrap();
Ok(())
}
Hello, Iām very interested in your crate, but cannot get a simple client working.
Can you provide some examples, or maybe howtos how to work with your framework?
Iām very newbie to rust and actix at all, but want to play with it and maybe can I do some help?
Hi everyone, I loved this project and thanks for taking the time to do it. But I understood very little about the character of the project itself.
I didn't understand the Server example and what the Server is intended for in this project.
Would it be possible to specify queues and topics and receive messages through these? If so, would you have a more complete example?
Thanks
On trying to connect with Azure Iot hub, I get the Sasl exception: SaslCode::Sys
What does this error code mean?
Can you provide documentation for the crate and examples to create a client for sending and receiving messages
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.