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

gu.dtalk.activemq.DefaultCustomActivemqConfigProvider Maven / Gradle / Ivy

There is a newer version: 0.8.2
Show newest version
package gu.dtalk.activemq;

import static gu.dtalk.activemq.ActivemqContext.HELPER;

import gu.simplemq.MQProperties;

/**
 * 自定义配置默认实现
 * @author guyadong
 *
 */
public class DefaultCustomActivemqConfigProvider extends BaseActivemqConfigProvider {
	public static final MQProperties INIT_PROPERTIES;

	static{
		INIT_PROPERTIES = HELPER.makeMQProperties(null);
		INIT_PROPERTIES.setProperty(MQ_URI, DEFAULT_AMQP_CONNECTOR);
		initMqttURI(INIT_PROPERTIES,DEFAULT_MQTT_PORT);
	}
	public DefaultCustomActivemqConfigProvider() {
	}
	@Override
	protected MQProperties selfProp() {
		return INIT_PROPERTIES;
	}
	@Override
	public final ActivemqConfigType type() {
		return ActivemqConfigType.CUSTOM;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy