-
Notifications
You must be signed in to change notification settings - Fork 31
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
Configurable dynamic methods #37
Conversation
Sorry, but: Declining this pool request. |
Why is it a breaking change if it is configurable and defaults to normal behaviour? |
It's abit crazy to autowire your service everytime sendMessage method is 2014/1/8 mifi [email protected]
Arsen |
Ok, but i disagree |
This is decision made by me and padcom (the project owner). Sorry about 2014/1/9 mifi [email protected]
Arsen |
I understand :) |
Created a CamelMessageService for use instead of invasively setting
generic metaclass property names like "sendMessage" on all Controllers/Services/Jobs.
sendMessage is likely to clash with existing methods.
Injected dynamic method names can be disabled by using the config option:
grails.routing.disableDynamicMethods = true