Closed spring-projects-issues closed 8 years ago
Juergen Hoeller commented
As of 4.3, we resolve all such name
attributes (which are mirrored as value
) on handler method arguments, the same way that we process defaultValue
already. This means that placeholders as well expressions are getting evaluated now.
Juergen
Bjorn Harvold opened SPR-13952 and commented
I would like to be able to control the name of my auth token per environment. Ergo, I would like to be able to do something like this:
Currently, this only works with a constant string.
Affects: 4.2.4
Issue Links:
18203 Support SpEL next to placeholders in annotation attributes (e.g.
@Scheduled
)18712 Placeholder resolution for annotation attributes is not active by default
Referenced from: commits https://github.com/spring-projects/spring-framework/commit/e0d7c6be00ed855e473f19f405ddbbcdb6cbb885