Open lukebakken opened 7 months ago
@stebet what do you think of this item?
Mark all sync API methods as
Obsolete
. Version 8 of this lib could then be async-only.
@stebet what do you think of this item?
Mark all sync API methods as
Obsolete
. Version 8 of this lib could then be async-only.
All for it!
Does we need QueueDeclarePassiveAsync too?
@bangjiehan -
Does we need QueueDeclarePassiveAsync too?
The QueueDeclareAsync
method has a passive
parameter. Set it to true
, and you will do a passive declaration.
QueueDeclarePassive
has always been a convenience method added to the API. I'll make a note to add it to version 7.
Is there documentation for new API? Or at least some example.
@Gladskih there isn't too much of a difference between the old API and the new one, to be honest. If you need a reference, the best place at this time are the test applications and integration tests:
If you need further assistance, please start a discussion rather than commenting on an issue: https://github.com/rabbitmq/rabbitmq-dotnet-client/discussions
@bollhals just FYI, I have decided that version 7 should ship on July 12th. I'm releasing 7.0.0-rc.2 today.
CHANGELOG.md
readonly
fields instead ofget;
TODO
comments in the codeITcpClient
or come up with a better way of setting socket options. See #1415 and this discussion. Note:TcpClientAdapter
was made public in https://github.com/rabbitmq/rabbitmq-dotnet-client/pull/1417var
with explicit types when appropriate.await
whenIsCompletedSuccessfully
istrue
(though, frankly, I prefer easier-to-read code 😸). These appear to be relevant:QueueDeclarePassive
have async versions.