@@ -139,7 +139,7 @@ public sealed class ConnectionConfig
139139        /// will be offloaded to the worker thread pool so it is important to choose the value for the concurrency wisely to avoid thread pool overloading. 
140140        /// <see cref="IAsyncBasicConsumer"/> can handle concurrency much more efficiently due to the non-blocking nature of the consumer. 
141141        /// </summary> 
142-         public  readonly  int   DispatchConsumerConcurrency ; 
142+         public  readonly  ushort   ConsumerDispatchConcurrency ; 
143143
144144        internal  readonly  Func < AmqpTcpEndpoint ,  CancellationToken ,  Task < IFrameHandler > >  FrameHandlerFactoryAsync ; 
145145
@@ -150,7 +150,7 @@ internal ConnectionConfig(string virtualHost, string userName, string password,
150150            ushort  maxChannelCount ,  uint  maxFrameSize ,  uint  maxInboundMessageBodySize ,  bool  topologyRecoveryEnabled , 
151151            TopologyRecoveryFilter  topologyRecoveryFilter ,  TopologyRecoveryExceptionHandler  topologyRecoveryExceptionHandler , 
152152            TimeSpan  networkRecoveryInterval ,  TimeSpan  heartbeatInterval ,  TimeSpan  continuationTimeout ,  TimeSpan  handshakeContinuationTimeout ,  TimeSpan  requestedConnectionTimeout , 
153-             ushort  dispatchConsumerConcurrency ,  Func < AmqpTcpEndpoint ,  CancellationToken ,  Task < IFrameHandler > >  frameHandlerFactoryAsync ) 
153+             ushort  consumerDispatchConcurrency ,  Func < AmqpTcpEndpoint ,  CancellationToken ,  Task < IFrameHandler > >  frameHandlerFactoryAsync ) 
154154        { 
155155            VirtualHost  =  virtualHost ; 
156156            UserName  =  userName ; 
@@ -170,7 +170,7 @@ internal ConnectionConfig(string virtualHost, string userName, string password,
170170            ContinuationTimeout  =  continuationTimeout ; 
171171            HandshakeContinuationTimeout  =  handshakeContinuationTimeout ; 
172172            RequestedConnectionTimeout  =  requestedConnectionTimeout ; 
173-             DispatchConsumerConcurrency  =  dispatchConsumerConcurrency ; 
173+             ConsumerDispatchConcurrency  =  consumerDispatchConcurrency ; 
174174            FrameHandlerFactoryAsync  =  frameHandlerFactoryAsync ; 
175175        } 
176176    } 
0 commit comments