@@ -103,9 +103,9 @@ protected override void InitializeFrom(Binding binding)
103
103
this . Broker = rabbind . Broker ;
104
104
this . OneWayOnly = rabbind . OneWayOnly ;
105
105
this . TransactionFlowEnabled = rabbind . TransactionFlow ;
106
- this . VirtualHost = rabbind . Transport . ConnectionParameters . VirtualHost ;
107
- this . Username = rabbind . Transport . ConnectionParameters . UserName ;
108
- this . Password = rabbind . Transport . ConnectionParameters . Password ;
106
+ this . VirtualHost = rabbind . Transport . ConnectionFactory . VirtualHost ;
107
+ this . Username = rabbind . Transport . ConnectionFactory . UserName ;
108
+ this . Password = rabbind . Transport . ConnectionFactory . Password ;
109
109
}
110
110
}
111
111
@@ -127,9 +127,9 @@ protected override void OnApplyConfiguration(Binding binding)
127
127
rabbind . BrokerProtocol = this . Protocol ;
128
128
rabbind . OneWayOnly = this . OneWayOnly ;
129
129
rabbind . TransactionFlow = this . TransactionFlowEnabled ;
130
- rabbind . Transport . ConnectionParameters . Password = this . Password ;
131
- rabbind . Transport . ConnectionParameters . UserName = this . Username ;
132
- rabbind . Transport . ConnectionParameters . VirtualHost = this . VirtualHost ;
130
+ rabbind . Transport . ConnectionFactory . Password = this . Password ;
131
+ rabbind . Transport . ConnectionFactory . UserName = this . Username ;
132
+ rabbind . Transport . ConnectionFactory . VirtualHost = this . VirtualHost ;
133
133
}
134
134
135
135
/// <summary>
@@ -156,7 +156,7 @@ public bool OneWayOnly
156
156
/// <summary>
157
157
/// Password to use when authenticating with the broker
158
158
/// </summary>
159
- [ ConfigurationProperty ( "password" , DefaultValue = ConnectionParameters . DefaultPass ) ]
159
+ [ ConfigurationProperty ( "password" , DefaultValue = ConnectionFactory . DefaultPass ) ]
160
160
public string Password
161
161
{
162
162
get { return ( ( string ) base [ "password" ] ) ; }
@@ -176,7 +176,7 @@ public bool TransactionFlowEnabled
176
176
/// <summary>
177
177
/// The username to use when authenticating with the broker
178
178
/// </summary>
179
- [ ConfigurationProperty ( "username" , DefaultValue = ConnectionParameters . DefaultUser ) ]
179
+ [ ConfigurationProperty ( "username" , DefaultValue = ConnectionFactory . DefaultUser ) ]
180
180
public string Username
181
181
{
182
182
get { return ( ( string ) base [ "username" ] ) ; }
@@ -220,7 +220,7 @@ public IProtocol Protocol
220
220
/// <summary>
221
221
/// The virtual host to access.
222
222
/// </summary>
223
- [ ConfigurationProperty ( "virtualHost" , DefaultValue = ConnectionParameters . DefaultVHost ) ]
223
+ [ ConfigurationProperty ( "virtualHost" , DefaultValue = ConnectionFactory . DefaultVHost ) ]
224
224
public string VirtualHost
225
225
{
226
226
get { return ( ( string ) base [ "virtualHost" ] ) ; }
0 commit comments