We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a need to "test" if I can connect to an AMQP server, within 10 seconds (for a feedback to a user).
But the Connection.Factory.CreateAsync(...) provides no way that I can see to pass in a cancellationToken or timeout.
Diving into the source code, it doesnt appear there is any control over the TcpTransport's Socket.ConnectAsync.
How would you suggest to attempt a connection and Session with a short 10 timeout or cancellation?
The text was updated successfully, but these errors were encountered:
Do you need to test just if the ip:port is accessible, or if an AMQP connection can be fully established?
Sorry, something went wrong.
I need to test if the AMQP connection can be fully established.
[#590] ConnectionFactory: support CancellationToken
d5a0fcb
No branches or pull requests
I have a need to "test" if I can connect to an AMQP server, within 10 seconds (for a feedback to a user).
But the Connection.Factory.CreateAsync(...) provides no way that I can see to pass in a cancellationToken or timeout.
Diving into the source code, it doesnt appear there is any control over the TcpTransport's Socket.ConnectAsync.
How would you suggest to attempt a connection and Session with a short 10 timeout or cancellation?
The text was updated successfully, but these errors were encountered: