6bc6cfe216
MAX-1081 POC Dictionary tasks in Web voor request Setup voor Transient request response met TODO's
13 lines
374 B
C#
13 lines
374 B
C#
using System;
|
|
|
|
namespace Tapeti.Transient
|
|
{
|
|
public static class ConfigExtensions
|
|
{
|
|
public static TapetiConfig WithTransient(this TapetiConfig config, TimeSpan defaultTimeout, string dynamicQueuePrefix = "transient")
|
|
{
|
|
config.Use(new TransientMiddleware(defaultTimeout, dynamicQueuePrefix));
|
|
return config;
|
|
}
|
|
}
|
|
} |