Set error naming convention
See original GitHub issueUntil version 5.6.0, it was possible to set the properties “ErrorExchangeNamingConvention” and “ErrorQueueNamingConvention” of conventions.
var conventions = _advancedBus.Container.Resolve<IConventions>();
conventions.ErrorExchangeNamingConvention = info => "any_exchange_name_based_on_info";
conventions.ErrorQueueNamingConvention = info => "any_queue_name_based_on_info";
How can I do this on version 6.2.0? IConventions properties do not allow set values.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
How to name exceptions? It's not so obvious…
Naming exceptions are even more complicated because exceptions are not regular classes. In this article, I'll tell you a bit about naming conventions...
Read more >Exception( Error ) Naming
Exceptions should be classes and hence the class naming convention should be used. Add a suffix "Error" on your exception names, provided the...
Read more >Convention for naming Ruby exceptions
The Ruby standard library always names the exceptions as such (a noun that is Exception or Error ) - for example.
Read more >Best Practices To Create Error Codes Pattern For an ...
You first have to isolate the areas where errors might occur, and are user-visible. Then you can document them. Its that simple. Well,...
Read more >naming-convention.md - typescript-eslint ...
Enforcing naming conventions helps keep the codebase consistent, and reduces overhead when thinking about how to name a variable.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure.
https://github.com/EasyNetQ/EasyNetQ/blob/master/Source/EasyNetQ/Conventions.cs#L177
Conventions
class has all setters.