Class EndpointsConfigurationBuilderAddOutboundExtensions
Adds the AddOutbound method to the IEndpointsConfigurationBuilder.
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public static class EndpointsConfigurationBuilderAddOutboundExtensions
Methods
| Improve this doc View sourceAddOutbound(IEndpointsConfigurationBuilder, Type, IProducerEndpoint, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, IProducerEndpoint endpoint, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| Type | messageType | The type of the messages to be published to this endpoint. |
| IProducerEndpoint | endpoint | The IProducerEndpoint representing the destination topic or queue. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
AddOutbound(IEndpointsConfigurationBuilder, Type, params IProducerEndpoint[])
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, params IProducerEndpoint[] endpoints)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| Type | messageType | The type of the messages to be published to this endpoint. |
| IProducerEndpoint[] | endpoints | The collection of IProducerEndpoint representing the destination topics or queues. |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
AddOutbound(IEndpointsConfigurationBuilder, Type, IOutboundRouter, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, IOutboundRouter router, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| Type | messageType | The type of the messages to be published to this endpoint. |
| IOutboundRouter | router | The IOutboundRouter<TMessage> to be used to determine the destination endpoint. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
AddOutbound(IEndpointsConfigurationBuilder, Type, IEnumerable<IProducerEndpoint>, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, IEnumerable<IProducerEndpoint> endpoints, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| Type | messageType | The type of the messages to be published to this endpoint. |
| IEnumerable<IProducerEndpoint> | endpoints | The collection of IProducerEndpoint representing the destination topics or queues. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
AddOutbound(IEndpointsConfigurationBuilder, Type, Type, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, Type routerType, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| Type | messageType | The type of the messages to be published to this endpoint. |
| Type | routerType | The type of the IOutboundRouter<TMessage> to be used to determine the destination endpoint. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
AddOutbound<TMessage>(IEndpointsConfigurationBuilder, IProducerEndpoint, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, IProducerEndpoint endpoint, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| IProducerEndpoint | endpoint | The IProducerEndpoint representing the destination topic or queue. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the messages to be published to this endpoint. |
AddOutbound<TMessage>(IEndpointsConfigurationBuilder, params IProducerEndpoint[])
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, params IProducerEndpoint[] endpoints)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| IProducerEndpoint[] | endpoints | The collection of IProducerEndpoint representing the destination topics or queues. |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the messages to be published to this endpoint. |
AddOutbound<TMessage>(IEndpointsConfigurationBuilder, IOutboundRouter<TMessage>, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, IOutboundRouter<TMessage> router, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| IOutboundRouter<TMessage> | router | The IOutboundRouter<TMessage> to be used to determine the destination endpoint. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the messages to be published to this endpoint. |
AddOutbound<TMessage>(IEndpointsConfigurationBuilder, IEnumerable<IProducerEndpoint>, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, IEnumerable<IProducerEndpoint> endpoints, bool preloadProducers = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| IEnumerable<IProducerEndpoint> | endpoints | The collection of IProducerEndpoint representing the destination topics or queues. |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the messages to be published to this endpoint. |
AddOutbound<TMessage, TRouter>(IEndpointsConfigurationBuilder, bool)
Adds an outbound endpoint for the specified message type.
Declaration
public static IEndpointsConfigurationBuilder AddOutbound<TMessage, TRouter>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, bool preloadProducers = true) where TRouter : IOutboundRouter<TMessage>
Parameters
| Type | Name | Description |
|---|---|---|
| IEndpointsConfigurationBuilder | endpointsConfigurationBuilder | |
| bool | preloadProducers | Specifies whether the producers must be immediately instantiated and connected. When |
Returns
| Type | Description |
|---|---|
| IEndpointsConfigurationBuilder | The IEndpointsConfigurationBuilder so that additional calls can be chained. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the messages to be published to this endpoint. |
| TRouter | The type of the IOutboundRouter<TMessage> to be used to determine the destination endpoint. |