Advertisement
Tofeurdu54

fff

Mar 23rd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @ConfigSerializable
  2. public class Config {
  3. public final static TypeToken<Config> type = TypeToken.of(Config.class);
  4.  
  5. @Setting public Rabbitmq rabbitmq = new Rabbitmq();
  6. @ConfigSerializable
  7. public static class Rabbitmq{
  8. @Setting
  9. public String uri = "amqp://guest:guest@localhost:5672/";
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement