Added @Qualifiers since test channel is no longer the only PollableChannel within the context (the "nullChannel" is also present after INT-629).

This commit is contained in:
Mark Fisher
2009-06-27 15:29:50 +00:00
parent c95e5da209
commit 10fa2c1a41
2 changed files with 7 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@ContextConfiguration
public class HttpInboundChannelAdapterParserTests {
@Autowired
@Autowired @Qualifier("requests")
private PollableChannel requests;
@Autowired @Qualifier("defaultAdapter")