All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ons.api.MessageAccessor Maven / Gradle / Ivy

package com.aliyun.openservices.ons.api;

import java.util.Properties;


public class MessageAccessor {
    public static Properties getSystemProperties(final Message msg) {
        return msg.systemProperties;
    }


    public static void setSystemProperties(final Message msg, Properties systemProperties) {
        msg.systemProperties = systemProperties;
    }


    public static void putSystemProperties(final Message msg, final String key, final String value) {
        msg.putSystemProperties(key, value);
    }


    public static String getSystemProperties(final Message msg, final String key) {
        return msg.getSystemProperties(key);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy