Skip to content

Conversation

@ryanjbaxter
Copy link

Uses fallback method signature as the Hystrix command key. Fixes #434.

* @param method The fallback method.
* @return A unique key to be used to cache the Hystrix command.
*/
protected String generateCommandKey(Method method) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type is final so no need to talk about the difference between default impl and the actual impl (nor make it protected). nit.. uhh.. I think you forgot to call this method :)

ps LOVE the first two sentences of the docs.. the rest aren't needed as this will only be viewed by authors.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ha! and I also forgot to add feign# to the beginning of it.

codefromthecrypt pushed a commit that referenced this pull request Aug 17, 2016
This exposes means to customize group and command keys, for example to
use non-default conventions from configuration or custom annotation
processing.

This also makes the default's more unique to avoid clashing in Hystrix's
cache.

Fixes #334
Fixes #434
Fixes #333
Obviates #444
@codefromthecrypt
Copy link
Contributor

closed via #447

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

Successfully merging this pull request may close these issues.

3 participants