Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ConfigSerializable
- public class Config {
- public final static TypeToken<Config> type = TypeToken.of(Config.class);
- @Setting public Rabbitmq rabbitmq = new Rabbitmq();
- @ConfigSerializable
- public static class Rabbitmq{
- @Setting
- public String uri = "amqp://guest:guest@localhost:5672/";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement