The implementation of org.jboss.util.StringPropertyReplacer does not allow any character escaping and therefore it is not possible to define a default value containing a closing curly bracket
E.g. "${my.prop:http://myserver/{username}/register}" with my.prop=http://prodserver/{username}/register is resolved as "http://prodserver/{username/register}/register}"