@BeforeEach
    public void setUp() throws IOException {
        String pluginResult = initPlugin(PluginEnum.LOGGING_RABBITMQ.getName(),
                "{\"host\":\"127.0.0.1\",\"port\":5672,\"password\":\"admin\",\"username\":\"admin\"," 
                        + "\"exchangeName\":\"exchange.logging.plugin\",\"queueName\":\"queue.logging.plugin\"," 
                        + "\"routingKey\":\"topic.logging\",\"virtualHost\":\"/\",\"exchangeType\":\"direct\"," 
                        + "\"durable\":\"true\",\"exclusive\":\"false\",\"autoDelete\":\"false\"}");
        assertThat(pluginResult, is("success"));
    }
Integration Test for logging-rabbitmq plugin.
shenyu-integrated-test/shenyu-integrated-test-http/src/test/java/org/apache/shenyu/integrated/test/http/combination/LoggingRabbitMqPluginTest.java