On behalf of the Spring Integration team I am pleased to announce that the Release Candidate 1 for the Spring Integration 5.0 version (5.0.0.RC1
) is now available.
It can be downloaded from the Milestone Repository:
repositories {
maven { url 'http://repo.spring.io/libs-milestone' }
}
compile "org.springframework.integration:spring-integration-core:5.0.0.RC1"
20 JIRAs (and some GitHub issues) are included in this release, together with bug fixes and a number of new features. Some highlights of features in the RC1
, since the previously announced Milestone 7:
-
The components populated by the Java DSL parser are now registered as BeanDefinitions
in the application context, thanks to newly introduced in the Spring Framework 5.0
Supplier
-based programmatic bean registration. This approach helps us to avoid some boilerplate code for singletons registration and initialization. In addition this BeanDefinition
registration may be useful in some use-case to select particular components in the application context. In fact, exactly that is used in the Spring Cloud Function project for java.util.function.*
beans scanning.
-
The IntegrationFlows.from(Class<?> serviceInterface)
has now overloaded version with an additional beanName
argument. This becomes exactly the bean name for a generates gateway proxy overriding the [flowId].gateway
value:
@Bean
public IntegrationFlow uppercaseFlow() {
return IntegrationFlows.from(MessageFunction.class, "uppercase")
.<String, String>transform(String::toUpperCase)
.get();
}
…