package org.security.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ：wzf
 * @apiNote ：x消息总线配置文件
 * @since ：Created in 2022/9/9 12:20
 */
@Data
@Component
@ConfigurationProperties(prefix = "sub")
public class ESMProperties {
	private String brokerServiceurl;
	private String accessToken;
	private String subscriptionName;
	private int corePoolSize;
	private String evnValue;
	private String listenerName;
	private List<String> topicNames;
	private int maximumPoolSize;
	private String deptLeaderName;
}
