Skip to content

Commit

Permalink
Rabbit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
agentgt committed Jan 6, 2024
1 parent 279b414 commit 2378422
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public static void run(Map<String, String> properties) {
RainbowGum.of();
// RainbowGum.set(() -> gum);
System.getLogger(RabbitMQSetup.class.getName()).log(Level.INFO, "hello");
//var logger = LoggerFactory.getLogger(RabbitMQSetup.class);
//logger.info("hello");
// var logger = LoggerFactory.getLogger(RabbitMQSetup.class);
// logger.info("hello");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ public static void afterAll() {
@Test
void testMain() {
RabbitMQOutputBuilder b = new RabbitMQOutputBuilder("amqp");
//b.host(rabbit.getHost());
//b.port(rabbit.getAmqpPort());
// b.host(rabbit.getHost());
// b.port(rabbit.getAmqpPort());
b.uri(URI.create(rabbit.getAmqpUrl()));
b.declareExchange(true);
Map<String, String> properties = b.asProperties();
properties.put(LogProperties.OUTPUT_PROPERTY, "amqp");
properties.put(LogProperties.OUTPUT_PROPERTY + ".amqp", "amqp:///");
System.out.println(properties);
System.out.println(rabbit.getAmqpUrl());
//LoggerFactoryFriend.reset();
// LoggerFactoryFriend.reset();
RabbitMQSetup.run(properties);
}

Expand Down

0 comments on commit 2378422

Please sign in to comment.