public static ClientProxy <TService> CreateClientProxy <TService>(MQOptions options, int timeoutInterval = 1200000, int hearbeatInterval = 10000) where TService : class { var opt = new RabbitMQClientConnectionFactoryOptions(options, NullLoggerFactory.Instance); return(CreateClientProxy <TService>(opt, timeoutInterval, hearbeatInterval)); }
public static ClientProxy <TService> CreateClientProxy <TService>(RabbitMQClientConnectionFactoryOptions options, int timeoutInterval = 1200000, int hearbeatInterval = 10000) where TService : class { return(new ClientProxy <TService>(options.Factory, new SimpleOptions <NClientOption>(new NClientOption { HearbeatInterval = hearbeatInterval, TimeoutInterval = timeoutInterval }), new NullOptions <ClientMiddlewareOptions>(), ActionExecutingContextAccessor.Default, null !, NullLoggerFactory.Instance)); }
public static ClientProxy <TService> CreateClientProxy <TService>(RabbitMQClientConnectionFactoryOptions options, int timeoutInterval = 1200000, int hearbeatInterval = 10000) { return(new ClientProxy <TService>(options.Factory, new SimpleOptions <NetRpcClientOption>(new NetRpcClientOption { HearbeatInterval = hearbeatInterval, TimeoutInterval = timeoutInterval }), null, NullLoggerFactory.Instance)); }