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:
Gary Russell
2015-12-01 12:10:48 -05:00
committed by Artem Bilan
parent 373bdfc617
commit bcc499786c
7 changed files with 212 additions and 7 deletions

View File

@@ -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());
}