Spring to understand properties in YAML
Posted
by litius
on Stack Overflow
See other posts from Stack Overflow
or by litius
Published on 2010-04-01T16:27:48Z
Indexed on
2010/04/01
16:33 UTC
Read the original article
Hit count: 369
Did Spring abandon YAML to use as an alternative to .properties / .xml because of:
[Spring Developer]: ...YAML was considered, but we thought that counting whitespace significant was a support nightmare in the making... [reference from spring forum]
I am confident YAML makes a lot of sense for properties, and I am using it currently on the project, but have difficulties to inject properties in a
<property name="productName" value="${client.product.name}" />
fashion.
Anything I am missing, or I should create a custom YamlPropertyPlaceholderConfigurer ?
Thank you,
/Anatoly
© Stack Overflow or respective owner