Skip to content

TimeConfiguration

Brian Lehnen edited this page Nov 1, 2015 · 2 revisions

Time Configuration

Since messages can be expired and delayed, it's important that producers and consumers have clocks that are in sync.

Since this may not be feasible, the queue's use the transports to determine what time it is. The time configuration class lets you set how often they refresh their internal timestamp.

queue.Configuration.TimeConfiguration.RefreshTime = TimeSpan.FromMinutes(15);
Clone this wiki locally