Remove support for Integration DSL (milestone only)
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
package org.test
|
||||
|
||||
@Component
|
||||
@EnableIntegrationPatterns
|
||||
class SpringIntegrationExample implements CommandLineRunner {
|
||||
|
||||
@Bean
|
||||
MessageFlow flow(ApplicationContext context) {
|
||||
def builder = new IntegrationBuilder(context)
|
||||
builder.messageFlow { transform {"Hello, $it!"} }
|
||||
}
|
||||
|
||||
@Override
|
||||
void run(String... args) {
|
||||
print flow().sendAndReceive("World")
|
||||
}
|
||||
}
|
||||
@@ -121,12 +121,6 @@ public class SampleIntegrationTests {
|
||||
assertTrue("Wrong output: " + output, output.contains("Hello World"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void integrationSample() throws Exception {
|
||||
String output = this.cli.run("integration.groovy");
|
||||
assertTrue("Wrong output: " + output, output.contains("Hello, World"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void xmlSample() throws Exception {
|
||||
String output = this.cli.run("runner.xml", "runner.groovy");
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
<spock.version>0.7-groovy-2.0</spock.version>
|
||||
<spring.version>4.0.0.RELEASE</spring.version>
|
||||
<spring-integration.version>3.0.0.RELEASE</spring-integration.version>
|
||||
<spring-integration-groovydsl.version>1.0.0.M1</spring-integration-groovydsl.version>
|
||||
<spring-batch.version>2.2.3.RELEASE</spring-batch.version>
|
||||
<spring-data-jpa.version>1.4.3.RELEASE</spring-data-jpa.version>
|
||||
<spring-data-mongo.version>1.3.3.RELEASE</spring-data-mongo.version>
|
||||
@@ -452,11 +451,6 @@
|
||||
<artifactId>spring-integration-stream</artifactId>
|
||||
<version>${spring-integration.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.integration</groupId>
|
||||
<artifactId>spring-integration-dsl-groovy-core</artifactId>
|
||||
<version>${spring-integration-groovydsl.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-core</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user