Skip to content

Commit

Permalink
Merge pull request #2 from protegeproject/RabbitMqConfiguration-fixes
Browse files Browse the repository at this point in the history
Updated RabbitMqConfiguration
  • Loading branch information
alexsilaghi authored Mar 25, 2024
2 parents 19361c9 + 5c705ca commit f70fab6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class RabbitMqConfiguration {


@Autowired(required = false)
private List<CommandHandler<? extends Request, ? extends Response>> handlers;
private List<CommandHandler<? extends Request, ? extends Response>> handlers = new ArrayList<>();


@Autowired
Expand Down Expand Up @@ -188,7 +188,7 @@ public void createBindings() {
}
channel.queueBind(getCommandResponseQueue(), COMMANDS_EXCHANGE, getCommandResponseQueue());

} catch (Exception e) {
} catch (IOException |TimeoutException e) {
logger.error("Error initialize bindings", e);
}
}
Expand Down

0 comments on commit f70fab6

Please sign in to comment.