You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution of the code below hangs. When nowait parameter is set to false it returns immediately.
I believe it also affects all API's with nowait parameter.
let mut ses = Session::open_url(url).unwrap();
let mut ch = ses.open_channel(1).unwrap();
println!("declaring exchange");
ch.exchange_declare("test-exchange",
"fanout",
false, // pssive
false, // durable
true, // auto_delete
false, // internal
true, // nowait - hangs when set to true
Table::new())
.unwrap();
The text was updated successfully, but these errors were encountered:
Oh. Good catch.
For now the client just ignores this parameter, and still waits for the reply from the server.
Instead, it should not wait for the reply and continue.
I guess it should be easy to fix, although the signature of the method would change (since it can not return response from the server).
Execution of the code below hangs. When nowait parameter is set to false it returns immediately.
I believe it also affects all API's with nowait parameter.
The text was updated successfully, but these errors were encountered: