From 622a0667f8b655178bfabf11e3a2a141788bc8be Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Thu, 30 Jun 2022 21:10:58 +0200 Subject: [PATCH] WIP --- .../de/juplo/kafka/wordcount/splitter/SplitterApplication.java | 2 ++ src/main/resources/{integration-context.xml => integration.xml} | 0 2 files changed, 2 insertions(+) rename src/main/resources/{integration-context.xml => integration.xml} (100%) diff --git a/src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java b/src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java index 8b33265..5d399f4 100644 --- a/src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java +++ b/src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java @@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.ImportResource; import org.springframework.expression.common.LiteralExpression; import org.springframework.integration.annotation.ServiceActivator; import org.springframework.integration.channel.DirectChannel; @@ -22,6 +23,7 @@ import org.springframework.messaging.support.ChannelInterceptor; @SpringBootApplication @EnableConfigurationProperties(SplitterApplicationProperties.class) @EnableIntegration +@ImportResource("classpath:integration.xml") public class SplitterApplication { @Bean diff --git a/src/main/resources/integration-context.xml b/src/main/resources/integration.xml similarity index 100% rename from src/main/resources/integration-context.xml rename to src/main/resources/integration.xml -- 2.20.1