From 963b3b7db2379053383af05b43bdf30a4b4576bb Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Thu, 13 Dec 2018 12:52:08 -0500 Subject: [PATCH] AMQP-849: Fix test --- .../RabbitTemplateDirectReplyToContainerIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplateDirectReplyToContainerIntegrationTests.java b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplateDirectReplyToContainerIntegrationTests.java index aa02a64baa..50e9903c8f 100644 --- a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplateDirectReplyToContainerIntegrationTests.java +++ b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplateDirectReplyToContainerIntegrationTests.java @@ -77,7 +77,7 @@ public void channelReleasedOnTimeout() throws Exception { Message replyMessage = new Message("foo".getBytes(), new MessageProperties()); assertThatThrownBy(() -> template.onMessage(replyMessage)) .isInstanceOf(AmqpRejectAndDontRequeueException.class) - .hasMessage("No correlation header"); + .hasMessage("No correlation header in reply"); replyMessage.getMessageProperties().setCorrelationId("foo"); assertThatThrownBy(() -> template.onMessage(replyMessage)) .isInstanceOf(AmqpRejectAndDontRequeueException.class)