Class ProtoMessagingBuilder
public sealed class ProtoMessagingBuilder
- Inheritance
-
ProtoMessagingBuilder
- Inherited Members
- Extension Methods
Properties
Services
public IServiceCollection Services { get; }
Property Value
Methods
CaptureAttachments(Action<MessagingAttachmentOptions>?)
Enables automatic published and received payload attachments, sanitized and redacted. Code configuration runs first and the known configuration section binds over it afterwards.
public ProtoMessagingBuilder CaptureAttachments(Action<MessagingAttachmentOptions>? configure = null)
Parameters
configureAction<MessagingAttachmentOptions>
Returns
UseBroker(Func<IServiceProvider, IProtoMessageBroker>)
Replaces the default in-memory broker with an adapter, for example RabbitMQ.
public ProtoMessagingBuilder UseBroker(Func<IServiceProvider, IProtoMessageBroker> factory)
Parameters
factoryFunc<IServiceProvider, IProtoMessageBroker>