1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| package com.xcong.excoin.configurations.properties;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.context.annotation.Configuration;
|
| /**
| * @author wzy
| * @date 2020-05-25
| **/
| @Data
| @Configuration
| @ConfigurationProperties(prefix = "custom.rabbitmq")
| public class CustomRabbitProperties {
| private String host;
| private int port;
| private String username;
| private String password;
| }
|
|