OPEN - issue INT-567: Add round-robin dispatching strategy

http://jira.springframework.org/browse/INT-567

Properly named AbstractUnicastDispatcher
This commit is contained in:
Iwein Fuld
2009-03-10 13:55:53 +00:00
parent efea914ed1
commit 0b4982b3de
6 changed files with 25 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ public class RoundRobinDispatcherConcurrentTests {
private static final int TOTAL_EXECUTIONS = 40;
private AbstractHandleOnceDispatcher dispatcher = new RoundRobinDispatcher();
private AbstractUnicastDispatcher dispatcher = new RoundRobinDispatcher();
private ThreadPoolTaskExecutor scheduler = new ThreadPoolTaskExecutor();

View File

@@ -35,7 +35,7 @@ import org.springframework.integration.message.MessageHandler;
@RunWith(MockitoJUnit44Runner.class)
public class RoundRobinDispatcherTests {
private AbstractHandleOnceDispatcher dispatcher = new RoundRobinDispatcher();
private AbstractUnicastDispatcher dispatcher = new RoundRobinDispatcher();
@Mock
private MessageHandler handler;