Class RabbitServicesExtensions
Inheritance
System.Object
RabbitServicesExtensions
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public static class RabbitServicesExtensions : object
Methods
|
Edit this page
View Source
AddRabbitAdmin(IServiceCollection)
Declaration
public static IServiceCollection AddRabbitAdmin(this IServiceCollection services)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitAdmin(IServiceCollection, Action<IServiceProvider, RabbitAdmin>)
Declaration
public static IServiceCollection AddRabbitAdmin(this IServiceCollection services, Action<IServiceProvider, RabbitAdmin> configure)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, RabbitAdmin> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitAdmin(IServiceCollection, String, Action<IServiceProvider, RabbitAdmin>)
Declaration
public static IServiceCollection AddRabbitAdmin(this IServiceCollection services, string serviceName, Action<IServiceProvider, RabbitAdmin> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, RabbitAdmin> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitBinding(IServiceCollection, Func<IServiceProvider, IBinding>)
Declaration
public static IServiceCollection AddRabbitBinding(this IServiceCollection services, Func<IServiceProvider, IBinding> factory)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Func<IServiceProvider, IBinding> |
factory |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitBinding(IServiceCollection, IBinding)
Declaration
public static IServiceCollection AddRabbitBinding(this IServiceCollection services, IBinding binding)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IBinding |
binding |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitBinding(IServiceCollection, String, Binding.DestinationType, Action<IServiceProvider, IBinding>)
Declaration
public static IServiceCollection AddRabbitBinding(this IServiceCollection services, string bindingName, Binding.DestinationType bindingType, Action<IServiceProvider, IBinding> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
bindingName |
|
Binding.DestinationType |
bindingType |
|
Action<IServiceProvider, IBinding> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitBindings(IServiceCollection, IBinding[])
Declaration
public static IServiceCollection AddRabbitBindings(this IServiceCollection services, params IBinding[] bindings)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IBinding[] |
bindings |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitConnectionFactory(IServiceCollection, Action<IServiceProvider, CachingConnectionFactory>)
Declaration
public static IServiceCollection AddRabbitConnectionFactory(this IServiceCollection services, Action<IServiceProvider, CachingConnectionFactory> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitConnectionFactory(IServiceCollection, String, Action<IServiceProvider, CachingConnectionFactory>)
Declaration
public static IServiceCollection AddRabbitConnectionFactory(this IServiceCollection services, string serviceName, Action<IServiceProvider, CachingConnectionFactory> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, CachingConnectionFactory> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitConnectionFactory<F>(IServiceCollection, Action<IServiceProvider, F>)
Declaration
public static IServiceCollection AddRabbitConnectionFactory<F>(this IServiceCollection services, Action<IServiceProvider, F> configure)
where F : IConnectionFactory
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, F> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitConnectionFactory<F>(IServiceCollection, String, Action<IServiceProvider, F>)
Declaration
public static IServiceCollection AddRabbitConnectionFactory<F>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, F> configure = null)
where F : IConnectionFactory
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, F> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitDefaultMessageConverter(IServiceCollection, Action<IServiceProvider, SimpleMessageConverter>)
Declaration
public static IServiceCollection AddRabbitDefaultMessageConverter(this IServiceCollection services, Action<IServiceProvider, SimpleMessageConverter> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitDefaultMessageConverter(IServiceCollection, String, Action<IServiceProvider, SimpleMessageConverter>)
Declaration
public static IServiceCollection AddRabbitDefaultMessageConverter(this IServiceCollection services, string serviceName, Action<IServiceProvider, SimpleMessageConverter> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, SimpleMessageConverter> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitDirecListenerContainer(IServiceCollection, Func<IServiceProvider, DirectMessageListenerContainer>)
Declaration
public static IServiceCollection AddRabbitDirecListenerContainer(this IServiceCollection services, Func<IServiceProvider, DirectMessageListenerContainer> factory)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitDirecListenerContainer(IServiceCollection, String, Action<IServiceProvider, DirectMessageListenerContainer>)
Declaration
public static IServiceCollection AddRabbitDirecListenerContainer(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, DirectMessageListenerContainer> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitExchange(IServiceCollection, Func<IServiceProvider, IExchange>)
Declaration
public static IServiceCollection AddRabbitExchange(this IServiceCollection services, Func<IServiceProvider, IExchange> factory)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Func<IServiceProvider, IExchange> |
factory |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitExchange(IServiceCollection, IExchange)
Declaration
public static IServiceCollection AddRabbitExchange(this IServiceCollection services, IExchange exchange)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IExchange |
exchange |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitExchange(IServiceCollection, String, String, Action<IServiceProvider, IExchange>)
Declaration
public static IServiceCollection AddRabbitExchange(this IServiceCollection services, string exchangeName, string exchangeType, Action<IServiceProvider, IExchange> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
exchangeName |
|
System.String |
exchangeType |
|
Action<IServiceProvider, IExchange> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitExchanges(IServiceCollection, IExchange[])
Declaration
public static IServiceCollection AddRabbitExchanges(this IServiceCollection services, params IExchange[] exchanges)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IExchange[] |
exchanges |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitHostingServices(IServiceCollection)
Declaration
public static IServiceCollection AddRabbitHostingServices(this IServiceCollection services)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitJsonMessageConverter(IServiceCollection, Action<IServiceProvider, JsonMessageConverter>)
Declaration
public static IServiceCollection AddRabbitJsonMessageConverter(this IServiceCollection services, Action<IServiceProvider, JsonMessageConverter> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, JsonMessageConverter> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitJsonMessageConverter(IServiceCollection, String, Action<IServiceProvider, JsonMessageConverter>)
Declaration
public static IServiceCollection AddRabbitJsonMessageConverter(this IServiceCollection services, string serviceName, Action<IServiceProvider, JsonMessageConverter> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, JsonMessageConverter> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerAttributeProcessor(IServiceCollection, Action<IServiceProvider, RabbitListenerAttributeProcessor>)
Declaration
public static IServiceCollection AddRabbitListenerAttributeProcessor(this IServiceCollection services, Action<IServiceProvider, RabbitListenerAttributeProcessor> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerAttributeProcessor(IServiceCollection, String, Action<IServiceProvider, RabbitListenerAttributeProcessor>)
Declaration
public static IServiceCollection AddRabbitListenerAttributeProcessor(this IServiceCollection services, string serviceName, Action<IServiceProvider, RabbitListenerAttributeProcessor> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerAttributeProcessor<P>(IServiceCollection, Action<IServiceProvider, P>)
Declaration
public static IServiceCollection AddRabbitListenerAttributeProcessor<P>(this IServiceCollection services, Action<IServiceProvider, P> configure)
where P : IRabbitListenerAttributeProcessor
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, P> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerAttributeProcessor<P>(IServiceCollection, String, Action<IServiceProvider, P>)
Declaration
public static IServiceCollection AddRabbitListenerAttributeProcessor<P>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, P> configure = null)
where P : IRabbitListenerAttributeProcessor
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, P> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerContainer<C>(IServiceCollection, Func<IServiceProvider, C>)
Declaration
public static IServiceCollection AddRabbitListenerContainer<C>(this IServiceCollection services, Func<IServiceProvider, C> factory)
where C : AbstractMessageListenerContainer
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Func<IServiceProvider, C> |
factory |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerContainer<C>(IServiceCollection, String, Action<IServiceProvider, C>)
Declaration
public static IServiceCollection AddRabbitListenerContainer<C>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, C> configure = null)
where C : AbstractMessageListenerContainer
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, C> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerContainerFactory(IServiceCollection, Action<IServiceProvider, DirectRabbitListenerContainerFactory>)
Declaration
public static IServiceCollection AddRabbitListenerContainerFactory(this IServiceCollection services, Action<IServiceProvider, DirectRabbitListenerContainerFactory> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerContainerFactory(IServiceCollection, String, Action<IServiceProvider, DirectRabbitListenerContainerFactory>)
Declaration
public static IServiceCollection AddRabbitListenerContainerFactory(this IServiceCollection services, string serviceName, Action<IServiceProvider, DirectRabbitListenerContainerFactory> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerContainerFactory<F>(IServiceCollection, Action<IServiceProvider, F>)
Declaration
public static IServiceCollection AddRabbitListenerContainerFactory<F>(this IServiceCollection services, Action<IServiceProvider, F> configure)
where F : IRabbitListenerContainerFactory
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, F> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerContainerFactory<F>(IServiceCollection, String, Action<IServiceProvider, F>)
Declaration
public static IServiceCollection AddRabbitListenerContainerFactory<F>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, F> configure = null)
where F : IRabbitListenerContainerFactory
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, F> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerEndpointRegistrar(IServiceCollection, Action<IServiceProvider, RabbitListenerEndpointRegistrar>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistrar(this IServiceCollection services, Action<IServiceProvider, RabbitListenerEndpointRegistrar> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerEndpointRegistrar(IServiceCollection, String, Action<IServiceProvider, RabbitListenerEndpointRegistrar>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistrar(this IServiceCollection services, string serviceName, Action<IServiceProvider, RabbitListenerEndpointRegistrar> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerEndpointRegistrar<R>(IServiceCollection, Action<IServiceProvider, R>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistrar<R>(this IServiceCollection services, Action<IServiceProvider, R> configure)
where R : IRabbitListenerEndpointRegistrar
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, R> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerEndpointRegistrar<R>(IServiceCollection, String, Action<IServiceProvider, R>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistrar<R>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, R> configure = null)
where R : IRabbitListenerEndpointRegistrar
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, R> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerEndpointRegistry(IServiceCollection, Action<IServiceProvider, RabbitListenerEndpointRegistry>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistry(this IServiceCollection services, Action<IServiceProvider, RabbitListenerEndpointRegistry> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerEndpointRegistry(IServiceCollection, String, Action<IServiceProvider, RabbitListenerEndpointRegistry>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistry(this IServiceCollection services, string serviceName, Action<IServiceProvider, RabbitListenerEndpointRegistry> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListenerEndpointRegistry<R>(IServiceCollection, Action<IServiceProvider, R>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistry<R>(this IServiceCollection services, Action<IServiceProvider, R> configure)
where R : IRabbitListenerEndpointRegistry
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, R> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerEndpointRegistry<R>(IServiceCollection, String, Action<IServiceProvider, R>)
Declaration
public static IServiceCollection AddRabbitListenerEndpointRegistry<R>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, R> configure = null)
where R : IRabbitListenerEndpointRegistry
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, R> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerErrorHandler<H>(IServiceCollection, String)
Declaration
public static IServiceCollection AddRabbitListenerErrorHandler<H>(this IServiceCollection services, string serviceName)
where H : IRabbitListenerErrorHandler
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitListenerErrorHandler<H>(IServiceCollection, String, Func<IServiceProvider, H>)
Declaration
public static IServiceCollection AddRabbitListenerErrorHandler<H>(this IServiceCollection services, string serviceName, Func<IServiceProvider, H> factory)
where H : IRabbitListenerErrorHandler
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Func<IServiceProvider, H> |
factory |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitMessageConverter<C>(IServiceCollection, Action<IServiceProvider, C>)
Declaration
public static IServiceCollection AddRabbitMessageConverter<C>(this IServiceCollection services, Action<IServiceProvider, C> configure)
where C : ISmartMessageConverter
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, C> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitMessageConverter<C>(IServiceCollection, String, Action<IServiceProvider, C>)
Declaration
public static IServiceCollection AddRabbitMessageConverter<C>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, C> configure = null)
where C : ISmartMessageConverter
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, C> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitMessageHandlerMethodFactory(IServiceCollection, Action<IServiceProvider, RabbitMessageHandlerMethodFactory>)
Declaration
public static IServiceCollection AddRabbitMessageHandlerMethodFactory(this IServiceCollection services, Action<IServiceProvider, RabbitMessageHandlerMethodFactory> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitMessageHandlerMethodFactory(IServiceCollection, String, Action<IServiceProvider, RabbitMessageHandlerMethodFactory>)
Declaration
public static IServiceCollection AddRabbitMessageHandlerMethodFactory(this IServiceCollection services, string serviceName, Action<IServiceProvider, RabbitMessageHandlerMethodFactory> configure = null)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitMessageHandlerMethodFactory<F>(IServiceCollection, Action<IServiceProvider, F>)
Declaration
public static IServiceCollection AddRabbitMessageHandlerMethodFactory<F>(this IServiceCollection services, Action<IServiceProvider, F> configure)
where F : IMessageHandlerMethodFactory
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, F> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitMessageHandlerMethodFactory<F>(IServiceCollection, String, Action<IServiceProvider, F>)
Declaration
public static IServiceCollection AddRabbitMessageHandlerMethodFactory<F>(this IServiceCollection services, string serviceName = null, Action<IServiceProvider, F> configure = null)
where F : IMessageHandlerMethodFactory
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, F> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters
|
Edit this page
View Source
AddRabbitQueue(IServiceCollection, Func<IServiceProvider, IQueue>)
Declaration
public static IServiceCollection AddRabbitQueue(this IServiceCollection services, Func<IServiceProvider, IQueue> factory)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Func<IServiceProvider, IQueue> |
factory |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitQueue(IServiceCollection, IQueue)
Declaration
public static IServiceCollection AddRabbitQueue(this IServiceCollection services, IQueue queue)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IQueue |
queue |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitQueue(IServiceCollection, String, Action<IServiceProvider, Queue>)
Declaration
public static IServiceCollection AddRabbitQueue(this IServiceCollection services, string queueName, Action<IServiceProvider, Queue> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
queueName |
|
Action<IServiceProvider, Queue> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitQueues(IServiceCollection, IQueue[])
Declaration
public static IServiceCollection AddRabbitQueues(this IServiceCollection services, params IQueue[] queues)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IQueue[] |
queues |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitServices(IServiceCollection, Boolean)
Declaration
public static IServiceCollection AddRabbitServices(this IServiceCollection services, bool useJsonMessageConverter = false)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.Boolean |
useJsonMessageConverter |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitTemplate(IServiceCollection)
Declaration
public static IServiceCollection AddRabbitTemplate(this IServiceCollection services)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitTemplate(IServiceCollection, Action<IServiceProvider, RabbitTemplate>)
Declaration
public static IServiceCollection AddRabbitTemplate(this IServiceCollection services, Action<IServiceProvider, RabbitTemplate> configure)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Action<IServiceProvider, RabbitTemplate> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitTemplate(IServiceCollection, String, Action<IServiceProvider, RabbitTemplate>)
Declaration
public static IServiceCollection AddRabbitTemplate(this IServiceCollection services, string serviceName, Action<IServiceProvider, RabbitTemplate> configure = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
System.String |
serviceName |
|
Action<IServiceProvider, RabbitTemplate> |
configure |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
Declaration
public static IServiceCollection ConfigureRabbitOptions(this IServiceCollection services, IConfiguration config)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IConfiguration |
config |
|
Returns
Type |
Description |
IServiceCollection |
|