Skip to content

TimeConfiguration

blehnen edited this page Nov 10, 2026 · 4 revisions

Time Configuration

Because messages can be expired and delayed, it is important that producers and consumers have clocks that are in sync.

This may not be possible, so the queues use the transports to find the current time. 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