在我们的Spring Boot2.x项目中,我们有几个用@Component注释的类--但是我们想在运行时有选择地选择其中的一个类。为了进一步阐述,我们创建了一个Uber Jar -它将在多台机器上运行-但每个jar应该运行不同的逻辑,并且此逻辑由此类中的一个类决定。在Spring boot2.x中实现这一点的最干净的<
我已经为Test_flow创建了简单的测试程序,但是当我试图运行该流程时,我会出错。'(inner bean)#6a12c7a8': Cannot create inner bean '(inner bean)#1d408060' of type [org.mule.config.spring.factories.PollingMessageSourceFactoryBean: No bean named 'ServiceNowREST__Default_Configuration'