Spring Boot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
293 B

package org.test
@Component
class SpringIntegrationExample implements CommandLineRunner {
def builder = new IntegrationBuilder()
def flow = builder.messageFlow {
transform {"Hello, $it!"}
}
@Override
public void run(String... args) {
print flow.sendAndReceive("World")
}
}