Created
January 12, 2018 17:28
-
-
Save hbulens/2538cac5544caadea197b75dabf01165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NServiceBus.Config; | |
using NServiceBus.Config.ConfigurationSource; | |
public class OrderMessage : IEvent | |
{ | |
public Guid Id { get; set; } | |
public string Description { get; set; } | |
} | |
class ConfigErrorQueue : IProvideConfiguration<MessageForwardingInCaseOfFaultConfig> | |
{ | |
public MessageForwardingInCaseOfFaultConfig GetConfiguration() | |
{ | |
return new MessageForwardingInCaseOfFaultConfig { ErrorQueue = "error" }; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment