Upgrade to SI Java DSL M2

This commit is contained in:
Artem Bilan
2014-06-19 16:18:23 +03:00
parent 4c1f7d452c
commit 53dfc4914f
2 changed files with 3 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn;
import org.springframework.core.env.Environment;
import org.springframework.http.HttpMethod;
import org.springframework.integration.annotation.IntegrationComponentScan;
@@ -123,6 +124,7 @@ public class Application {
}
@Bean
@DependsOn("errorFlow")
public IntegrationFlow flow() {
return IntegrationFlows.from("requestChannel")
.transform(new ObjectToStringTransformer())