Add Java DSL sample for Kafka 0.9
Make `PromiseTest` more fast decreasing `sleep()` in the `MathService` Kafka-0.10.0 Compatibility Upgrade to Spring Boot 1.4.0.RELEASE Regenerate poms according to upgrades
This commit is contained in:
@@ -104,12 +104,12 @@ public class Application {
|
||||
.split("payload.items")
|
||||
.channel(MessageChannels.executor(Executors.newCachedThreadPool()))
|
||||
.route("payload.iced",
|
||||
new Consumer<RouterSpec<ExpressionEvaluatingRouter>>() {
|
||||
new Consumer<RouterSpec<Object, ExpressionEvaluatingRouter>>() {
|
||||
|
||||
@Override
|
||||
public void accept(RouterSpec<ExpressionEvaluatingRouter> spec) {
|
||||
spec.channelMapping("true", "iced")
|
||||
.channelMapping("false", "hot");
|
||||
public void accept(RouterSpec<Object, ExpressionEvaluatingRouter> spec) {
|
||||
spec.channelMapping(true, "iced")
|
||||
.channelMapping(false, "hot");
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user