- Notifications
You must be signed in to change notification settings - Fork615
Closed as not planned
Description
Describe the bug
IConnectionFactory does not contain properties that are present in the ConnectionFactory class and are needed to correctly configure the connection.
- AutomaticRecoveryEnabled
- NetworkRecoveryInterval
- TopologyRecoveryEnabled
- TopologyRecoveryFilter
- TopologyRecoveryExceptionHandler
- DefaultAmqpUriSslProtocols
- DefaultAddressFamily
- Endpoint
- Ssl
- MaxInboundMessageBodySize
- AmqpUriSslProtocols
This creates great difficulties in writing tests, since only interfaces can be mocked, and it does not contain the properties that are used in the main code (accordingly, it is not possible to translate the code to use an interface instead of a class).
Reproduction steps
- Just use it
Expected behavior
The interface replicates the public properties and methods of the class.
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels