title: How to pass parameters using spring message PropertyPlaceholderConfigurer?
body: <p>The code written is working fine if the property message are hard coded.Instead i want to pass dynamic data as parameters and get the message.
  My developed code is : </p>
  
  <pre><code>public class SpringPropertiesUtil extends PropertyPlaceholderConfigurer {
  
  private static Map&lt;String, String&gt; propertiesMap;
  // Default as in PropertyPlaceholderConfigurer
  private int springSystemPropertiesMode = SYSTEM_PROPERTIES_MODE_FALLBACK; //Check system properties if not resolvable in the specified properties.
  
  static final Logger logger = LogManager.getLogger(SpringPropertiesUtil.class);
  
  @Override
  public void setSystemPropertiesMode(int systemPropertiesMode) {
      super.setSystemPropertiesMode(systemPropertiesMode);
      springSystemPropertiesMode = systemPropertiesMode;
  }
  
  @Override
  protected void processProperties(ConfigurableListableBeanFactory beanFactory, Properties props) throws BeansException {
      super.processProperties(beanFactory, props);
  
      propertiesMap = new HashMap&lt;String, String&gt;();
      for (Object key : props.keySet()) {
          String keyStr = key.toString();
          String valueStr = resolvePlaceholder(keyStr, props, springSystemPropertiesMode);
          propertiesMap.put(keyStr, valueStr);
      }
  }
  
  public static String getProperty(String name) {
      return propertiesMap.get(name).toString();
  }
  </code></pre>
  
  <p>Message properties file consist of :</p>
  
  <pre><code>myProperty={0} how are you
  </code></pre>
  
  <p>Now, i want to pass name in the place of {0}. But i couldnot able to.Please let me know if any methods to be defined.</p>