Chris Lee opened SPR-4953 and commented
There is presently no way to inject a placeholder expression (${...}) that won't be picked up by PropertyPlaceholderConfigurer. Ideally we should be able to inject a string that contains ${...} for later use in its target bean without involvement from PropertyPlaceholderConfigurer.
Perhaps a simple escape mechanism using the conventional backslash, such as "The current value is \\${...}" would suffice.
Affects: 2.5.4, 2.5.5
11 votes, 5 watchers
Chris Lee opened SPR-4953 and commented
There is presently no way to inject a placeholder expression (
${...}) that won't be picked up byPropertyPlaceholderConfigurer. Ideally we should be able to inject a string that contains${...}for later use in its target bean without involvement fromPropertyPlaceholderConfigurer.Perhaps a simple escape mechanism using the conventional backslash, such as
"The current value is \\${...}"would suffice.Affects: 2.5.4, 2.5.5
11 votes, 5 watchers