Exemplo n.º 1
0
 internal ServiceBusSessionProcessor(
     ServiceBusConnection connection,
     string entityPath,
     ServiceBusSessionProcessorOptions options)
 {
     _innerProcessor = new ServiceBusProcessor(
         connection,
         entityPath,
         true,
         options.ToProcessorOptions(),
         options.SessionIds);
 }
Exemplo n.º 2
0
 internal ServiceBusSessionProcessor(
     ServiceBusConnection connection,
     string entityPath,
     ServiceBusSessionProcessorOptions options)
 {
     options ??= new ServiceBusSessionProcessorOptions();
     InnerProcessor = new ServiceBusProcessor(
         connection,
         entityPath,
         true,
         options.ToProcessorOptions(),
         options.SessionIds.ToArray(),
         options.MaxConcurrentSessions,
         options.MaxConcurrentCallsPerSession,
         this);
 }
 internal ServiceBusSessionProcessor(
     ServiceBusConnection connection,
     string entityPath,
     IList <ServiceBusPlugin> plugins,
     ServiceBusSessionProcessorOptions options)
 {
     InnerProcessor = new ServiceBusProcessor(
         connection,
         entityPath,
         true,
         plugins,
         options.ToProcessorOptions(),
         options.SessionIds.ToArray(),
         options.MaxConcurrentSessions,
         options.MaxConcurrentCallsPerSession);
 }