Skip to content

Commit

Permalink
Merged PR 508005: Add AMQP-WS as a fallback for Edge hub's cloud conn…
Browse files Browse the repository at this point in the history
…ection
  • Loading branch information
damonbarry committed Nov 8, 2017
1 parent fbdeb6d commit ba85d8c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ public CloudProxyProvider(IMessageConverterProvider messageConverterProvider, in
this.useDefaultOperationTimeout = useDefaultOperationTimeout;
this.transportSettings = new ITransportSettings[] {
new AmqpTransportSettings(TransportType.Amqp_Tcp_Only)
{
AmqpConnectionPoolSettings = new AmqpConnectionPoolSettings()
{
Pooling = true,
MaxPoolSize = (uint)connectionPoolSize
}
},
new AmqpTransportSettings(TransportType.Amqp_WebSocket_Only)
{
AmqpConnectionPoolSettings = new AmqpConnectionPoolSettings()
{
Expand Down

0 comments on commit ba85d8c

Please sign in to comment.