Class ControlBusEndpointOptions
Options for the control-bus endpoint.
public sealed class ControlBusEndpointOptions : EndpointOptions
Inheritance
Inherited Members
EndpointOptions.BindableOptions(Type),EndpointOptions.BindFromUri(IReadOnlyDictionary<string, string>),EndpointOptions.IsLenient(Type),EndpointOptions.OptionValueHint(string),EndpointOptions.ResolveOption(string?, IExchange),EndpointOptions.RoleOf(PropertyInfo),EndpointOptions.UnknownParameterHint(string),EndpointOptions.UnmappedParameters,EndpointOptions.Validate(),EndpointOptions.WrittenBesideConnectionFactory(Type, EndpointUri),EndpointOptions.WrittenForOtherRole(Type, EndpointUri, EndpointRole)
Properties
Async
Perform the action asynchronously (fire-and-forget). Default: false.
public bool Async { get; set; }
Events
notify command only: comma-separated event-name filter (e.g. RouteStarted,RouteStopped).
public string? Events { get; set; }
Language
Expression language name for the language command (e.g. simple).
public string? Language { get; set; }
RestartDelay
Delay in ms between stop and start on restart. Default: 1000.
public int RestartDelay { get; set; }
RouteId
Target route id. current resolves to the sending route. Optional for stats.
public string? RouteId { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()