I want to pass int instead of the string , which is used by default in spring PropertyPlaceholderConfigurer .
<property name="mailServerPort" value="${mail.port}" />
This gives me an error because mailServerPort is an int type and $ {mail.port} is a string type.
How can I convert $ {mail.port} to int?
Mawia source share