我无法通过使用bean名称+与bean名称相同的参数名称来自动布线org.springframework.integration.ftp.dsl.FtpMessageHandlerSpec。我相信当存在多个相同类型的bean时,如果bean名称和目标参数名称相同,Spring应该能够解析依赖项。ftpMessageHandlerSpecA, ) {
r
ConfigurableApplicationContext ctx = new ClassPathXmlApplicationContext(
new String[]{"/META-INF/spring但是,@Autowired并不适用于任何这些新豆类。id="outboundContractJdbcFileMapper" class="com.......integration.model.contract.ContractMapper