Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IConnectionFactory does not contain properties that are present in the class and are needed to correctly configure the connection. #1836

Closed as not planned
@Upitep

Description

@Upitep

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

  1. Just use it

Expected behavior

The interface replicates the public properties and methods of the class.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp