Removed duplicated code

This commit is contained in:
Marcin Grzejszczak
2016-04-23 01:20:02 +02:00
parent 1a50a4baf1
commit b7e923af6d

View File

@@ -33,7 +33,7 @@ class StubRunnerIntegrationConfiguration {
.transform(new StubRunnerIntegrationTransformer(dsl), { GenericEndpointSpec e -> e.id("${flowName}.transformer") })
.channel(dsl.outputMessage.sentTo)
.get()
beanFactory.initializeBean(integrationFlow, "${name}_${dsl.label}_${dsl.hashCode()}")
beanFactory.initializeBean(integrationFlow, flowName)
beanFactory.getBean("${flowName}.filter", Lifecycle.class).start();
beanFactory.getBean("${flowName}.transformer", Lifecycle.class).start();
}