Fix naming in Inbound Kafka Gateway code sample

This commit is contained in:
guycall
2020-09-10 22:14:51 +09:00
committed by GitHub
parent 8e7785d8b5
commit 71a273eece

View File

@@ -560,7 +560,7 @@ public IntegrationFlow serverGateway(
ConcurrentMessageListenerContainer<Integer, String> container,
KafkaTemplate<Integer, String> replyTemplate) {
return IntegrationFlows
.from(Kafka.inboundGateway(container, template)
.from(Kafka.inboundGateway(container, replyTemplate)
.replyTimeout(30_000))
.<String, String>transform(String::toUpperCase)
.get();