Class EventOptionsBuilder
- Namespace
- AnyProtocol.Configuration
- Assembly
- AnyProtocol.dll
Provides the event options builder implementation used by AnyProtocol applications.
public sealed class EventOptionsBuilder
- Inheritance
-
EventOptionsBuilder
- Inherited Members
Constructors
EventOptionsBuilder(string)
Provides the event options builder implementation used by AnyProtocol applications.
public EventOptionsBuilder(string defaultChannel)
Parameters
defaultChannelstringThe default channel.
Methods
ConsumerGroup(string)
Performs the consumer group operation.
public EventOptionsBuilder ConsumerGroup(string consumerGroup)
Parameters
consumerGroupstringThe consumer group.
Returns
- EventOptionsBuilder
The result of the consumer group operation.
RequireOrdering(TransportOrdering)
Requires the selected transport to guarantee the specified ordering.
public EventOptionsBuilder RequireOrdering(TransportOrdering ordering)
Parameters
orderingTransportOrdering
Returns
UseChannel(string)
Performs the use channel operation.
public EventOptionsBuilder UseChannel(string channel)
Parameters
channelstringThe logical message channel.
Returns
- EventOptionsBuilder
The result of the use channel operation.
UseProtocol(ProtocolKey)
Performs the use protocol operation.
public EventOptionsBuilder UseProtocol(ProtocolKey protocol)
Parameters
protocolProtocolKeyThe protocol registration key.
Returns
- EventOptionsBuilder
The result of the use protocol operation.
UseTransport(string)
Performs the use transport operation.
public EventOptionsBuilder UseTransport(string name)
Parameters
namestringThe registered instance name.
Returns
- EventOptionsBuilder
The result of the use transport operation.