splitter: 1.0.0-spring-ingetration - message-driven channel-adapter
authorKai Moritz <kai@juplo.de>
Sun, 17 Jul 2022 17:03:18 +0000 (19:03 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 18 Jul 2022 19:33:52 +0000 (21:33 +0200)
commit5c1e4e203c3c0d7c07b4ce1293a4a120faf1db3c
treef89a4157be8f99753332235c2d2a111460b31665
parent9f82f66f1a9ed3194889fee1b69a10287c4b03db
splitter: 1.0.0-spring-ingetration - message-driven channel-adapter

* Instead of the `@InboundChannelAdapter`-annotation, a
  `KafkaMessageDrivenChannelAdapter` can be instanciated.
* The adapter takes a `AbstractMessageListenerContainer` as constructor
  argument.
* The output-channel must be set explicitly on the created instance.
* This approach is advantageous, if technical details are important,
  because the used `MessageListenerContainer` can be configured explicitly.
src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java