Skip to content

Commit 9b1c3c1

Browse files
author
Emile Joubert
committed
Retain non-default binding configuration details
1 parent 89c04b7 commit 9b1c3c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/wcf/RabbitMQ.ServiceModel/src/serviceModel/RabbitMQTransportBindingElement.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ private RabbitMQTransportBindingElement(RabbitMQTransportBindingElement other)
7272
{
7373
Broker = other.Broker;
7474
BrokerProtocol = other.BrokerProtocol;
75+
76+
m_connectionFactory.UserName = other.ConnectionFactory.UserName;
77+
m_connectionFactory.Password = other.ConnectionFactory.Password;
78+
m_connectionFactory.VirtualHost = other.ConnectionFactory.VirtualHost;
7579
}
7680

7781

0 commit comments

Comments
 (0)