WIP
authorKai Moritz <kai@juplo.de>
Sat, 25 Jun 2022 13:08:12 +0000 (15:08 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 25 Jun 2022 13:08:12 +0000 (15:08 +0200)
pom.xml
src/main/resources/integration.xml [new file with mode: 0644]

diff --git a/pom.xml b/pom.xml
index ba3b836..0d0ad53 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <artifactId>spring-boot-starter-integration</artifactId>
     </dependency>
     <dependency>
-      <groupId>org.springframework.kafka</groupId>
-      <artifactId>spring-kafka</artifactId>
+      <groupId>org.springframework.integration</groupId>
+      <artifactId>spring-integration-stream</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.integration</groupId>
+      <artifactId>spring-integration-kafka</artifactId>
     </dependency>
     <dependency>
       <groupId>org.projectlombok</groupId>
diff --git a/src/main/resources/integration.xml b/src/main/resources/integration.xml
new file mode 100644 (file)
index 0000000..2b22bcd
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns:int-stream="http://www.springframework.org/schema/integration/stream"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:beans="http://www.springframework.org/schema/beans"
+  xsi:schemaLocation="http://www.springframework.org/schema/beans
+      https://www.springframework.org/schema/beans/spring-beans.xsd
+      http://www.springframework.org/schema/integration/stream
+      https://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd">
+
+  <int-stream:stdin-channel-adapter id="stdin" charset="UTF-8"/>
+
+</beans:beans>