File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/RabbitMQ.Client/client/api Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ public IAuthMechanismFactory AuthMechanismFactory(IList<string> mechanismNames)
355
355
/// </exception>
356
356
public IConnection CreateConnection ( )
357
357
{
358
- return CreateConnection ( EndpointResolverFactory ( LocalEndpoints ( ) ) , ClientProvidedName ) ;
358
+ return CreateConnection ( ClientProvidedName ) ;
359
359
}
360
360
361
361
/// <summary>
@@ -419,7 +419,7 @@ public IConnection CreateConnection(IList<string> hostnames)
419
419
public IConnection CreateConnection ( IList < string > hostnames , string clientProvidedName )
420
420
{
421
421
IEnumerable < AmqpTcpEndpoint > endpoints = hostnames . Select ( h => new AmqpTcpEndpoint ( h , Port , Ssl ) ) ;
422
- return CreateConnection ( new DefaultEndpointResolver ( endpoints ) , clientProvidedName ) ;
422
+ return CreateConnection ( EndpointResolverFactory ( endpoints ) , clientProvidedName ) ;
423
423
}
424
424
425
425
/// <summary>
@@ -461,7 +461,7 @@ public IConnection CreateConnection(IList<AmqpTcpEndpoint> endpoints)
461
461
/// </exception>
462
462
public IConnection CreateConnection ( IList < AmqpTcpEndpoint > endpoints , string clientProvidedName )
463
463
{
464
- return CreateConnection ( new DefaultEndpointResolver ( endpoints ) , clientProvidedName ) ;
464
+ return CreateConnection ( EndpointResolverFactory ( endpoints ) , clientProvidedName ) ;
465
465
}
466
466
467
467
/// <summary>
You can’t perform that action at this time.
0 commit comments