Skip to content

Commit

Permalink
Note about supported transports
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroservienti committed Jan 8, 2022
1 parent cffad8b commit 1d2bc46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Snippets/ConfigurationSnippets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ public MyServiceConfiguration()
this.SendFailedMessagesTo("error");
this.EnableInstallers();

/*
* Any NServiceBus suppported transport can be used. Tests in this
* repostory are using the LearningTransport for the setup simplicity
*/
this.UseTransport(new LearningTransport());
}
}
Expand All @@ -25,6 +29,10 @@ public static EndpointConfiguration Build(string endpointName)
config.SendFailedMessagesTo("error");
config.EnableInstallers();

/*
* Any NServiceBus suppported transport can be used. Tests in this
* repostory are using the LearningTransport for the setup simplicity
*/
config.UseTransport(new LearningTransport());

return config;
Expand Down

0 comments on commit 1d2bc46

Please sign in to comment.