Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handler queue naming #21

Open
sweetlandj opened this issue Feb 23, 2016 · 0 comments
Open

Improve handler queue naming #21

sweetlandj opened this issue Feb 23, 2016 · 0 comments

Comments

@sweetlandj
Copy link
Owner

Currently handler queues are named by taking the MD5 hash of the handler type name. This is done to ensure that the queue names:

  • Are short enough to not run afoul of path length restrictions in Windows
  • Are unique (enough)
  • Are consistent across restarts

We need to continue to meet the above goals while addressing the following:

  • Queue names should be descriptive
  • Queue names should be intuitive
  • Queue names should be discoverable/navigable

Possible solutions:

  • Change the default to use the Type.Name (not Type.FullName) truncated at a certain number of characters with a small(er) hash of the full name to ensure uniqueness
  • Introduce a [Queue] attribute for the HandleMessage method(s) that indicates the queue name, max concurrency, max retries, etc. for queues used for handling rules targeting those methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant