INT-3900: MQTT: Don't Unsubscribe if !cleanSession
JIRA: https://jira.spring.io/browse/INT-3900 The message-driven adapter should not unsubscribe if `cleanSession` is `false`. (cherry picked from commit 616fc79)
This commit is contained in:
committed by
Artem Bilan
parent
373bdfc617
commit
bcc499786c
@@ -161,7 +161,7 @@ public class FileTailingMessageProducerTests {
|
||||
foo.flush();
|
||||
foo.close();
|
||||
for (int i = 0; i < 50; i++) {
|
||||
Message<?> message = outputChannel.receive(5000);
|
||||
Message<?> message = outputChannel.receive(10000);
|
||||
assertNotNull("expected a non-null message", message);
|
||||
assertEquals("hello" + i, message.getPayload());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user