class MqEnvProp implements EnvironmentAware {

	public Map<String, Object> getEnv() {
		Map<String, Object> result = new LinkedHashMap<String, Object>();		
		for (Entry<String, PropertySource<?>> entry : getPropertySources().entrySet()) {
			PropertySource<?> source = entry.getValue();			
			if (source instanceof EnumerablePropertySource) {
				EnumerablePropertySource<?> enumerable = (EnumerablePropertySource<?>) source;
				for (String name : enumerable.getPropertyNames()) {
					if(!result.containsKey(name)){
						result.put(name, sanitize(name, enumerable.getProperty(name)));
					}
				}				
			}
		}
		return result;
	}

}