From 44def3f4d5935a3220ba71bfb5dbe417a7226d9d Mon Sep 17 00:00:00 2001 From: Dima Denisenko <1253839+dmitriidenisenko@users.noreply.github.com> Date: Fri, 13 Dec 2024 21:09:49 +0200 Subject: [PATCH] fix: enable to unserialize message --- .../amqpconsuminghello/consumer/GreetingMessageConsumerIT.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/com/iqkv/incubator/quickstart/amqpconsuminghello/consumer/GreetingMessageConsumerIT.java b/src/test/java/com/iqkv/incubator/quickstart/amqpconsuminghello/consumer/GreetingMessageConsumerIT.java index cc927f0..486663e 100644 --- a/src/test/java/com/iqkv/incubator/quickstart/amqpconsuminghello/consumer/GreetingMessageConsumerIT.java +++ b/src/test/java/com/iqkv/incubator/quickstart/amqpconsuminghello/consumer/GreetingMessageConsumerIT.java @@ -15,6 +15,9 @@ @SpringBootTest class GreetingMessageConsumerIT { + static { + System.setProperty("spring.amqp.deserialization.trust.all", "true"); + } private final GreetingMessageProducer producer; private final GreetingMessageConsumer consumer;