Post interceptors are invoked in the reverse order of pre interceptors

This commit is contained in:
Mark Fisher
2008-07-09 14:09:25 +00:00
parent 0b25056392
commit 92746ebed6
4 changed files with 21 additions and 11 deletions

View File

@@ -111,7 +111,7 @@ public class WireTapTests {
QueueChannel secondaryChannel = new QueueChannel();
mainChannel.addInterceptor(new WireTap(secondaryChannel));
Message<?> message = new StringMessage("testing");
Thread.sleep(3);
Thread.sleep(50);
mainChannel.send(message);
Message<?> original = mainChannel.receive(0);
Message<?> duplicate = secondaryChannel.receive(0);