Particular / ServiceControl.Plugin.Nsb6.Heartbeat

The old Heartbeat package for NServiceBus v6
https://github.com/Particular/NServiceBus.Hear
Other
0 stars 0 forks source link

Ability to configure ServiceControl settings through code #4

Closed particularbot closed 8 years ago

particularbot commented 8 years ago

ServiceControl settings can now be configured via code.

Here is an example:

var frequency = TimeSpan.FromMinutes(1);
var timeToLive = TimeSpan.FromMinutes(2);
var endpointConfiguration = new EndpointConfiguration("my_endpoint");
endpointConfiguration.HeartbeatPlugin("ServiceControl_Queue", frequency, timeToLive);
johnsimons commented 8 years ago

Added in https://github.com/Particular/ServiceControl.Plugin.Nsb6.Heartbeat/commit/a74b6f93b9e7c10433cef728b4351ccd196cd071