Upgrade to SIK-3.0

* Fix Kafka Java DSL sample from bean name conflict
* Fix usage of deprecated `org.springframework.integration.test.util.SocketUtils`
This commit is contained in:
Artem Bilan
2017-11-30 20:37:49 -05:00
parent 38202d8b1f
commit bbcb4bcfae
7 changed files with 24 additions and 15 deletions

View File

@@ -108,7 +108,7 @@ public class Application {
}
@Bean
public IntegrationFlow fromKafka(ConsumerFactory<?, ?> consumerFactory) {
public IntegrationFlow fromKafkaFlow(ConsumerFactory<?, ?> consumerFactory) {
return IntegrationFlows
.from(Kafka.messageDrivenChannelAdapter(consumerFactory, this.properties.getTopic()))
.channel(c -> c.queue("fromKafka"))