Some test code

    @Bean
    public RabbitAdmin rabbitAdmine(ConnectionFactory connectionFactory) {
        RabbitAdmin rabbitAdmin = new RabbitAdmin(connectionFactory);
        return rabbitAdmin;
    }

发表评论

电子邮件地址不会被公开。 必填项已用*标注