@@ -0,0 +1,1226 @@
+package com.equalize.xpi.af.modules.util;%0A%0Aimport com.sap.engine.interfaces.messaging.api.Message;%0Aimport com.sap.engine.interfaces.messaging.api.MessagePropertyKey;%0Aimport com.sap.engine.interfaces.messaging.api.exception.InvalidParamException;%0A%0Apublic class DynamicConfigurationHelper %7B%0A%0A%09private final Message msg;%0A%09%0A%09public DynamicConfigurationHelper (Message msg) %7B%0A%09%09this.msg = msg;%0A%09%7D%0A%0A%09public String get(String namespace, String attribute) %7B%0A%09%09MessagePropertyKey mpk = new MessagePropertyKey(attribute, namespace);%0A%09%09return this.msg.getMessageProperty(mpk);%09%09%0A%09%7D%0A%0A%09public void add(String namespace, String attribute, String value) throws InvalidParamException %7B%0A%09%09MessagePropertyKey mpk = new MessagePropertyKey(attribute, namespace);%0A%09%09this.msg.setMessageProperty(mpk, value );%0A%09%7D%0A%0A%09public void change(String namespace, String attribute, String value) throws InvalidParamException %7B%0A%09%09MessagePropertyKey mpk = new MessagePropertyKey(attribute, namespace);%0A%09%09this.msg.removeMessageProperty(mpk);%0A%09%09this.msg.setMessageProperty(mpk, value);%0A%09%7D%0A%0A%09public void delete(String namespace, String attribute) %7B%0A%09%09MessagePropertyKey mpk = new MessagePropertyKey(attribute, namespace);%0A%09%09this.msg.removeMessageProperty(mpk);%0A%09%7D%0A%7D%0A

Create DynamicConfigurationHelper.java