<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xmlns:stream="http://www.springframework.org/schema/integration/stream"
	xmlns:ip="http://www.springframework.org/schema/integration/ip"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
			https://www.springframework.org/schema/beans/spring-beans.xsd
			http://www.springframework.org/schema/integration
			https://www.springframework.org/schema/integration/spring-integration.xsd
			http://www.springframework.org/schema/integration/stream
			https://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd
			http://www.springframework.org/schema/integration/ip
			https://www.springframework.org/schema/integration/ip/spring-integration-ip.xsd">

	<!-- rsyslog conf:

		*.*                             @localhost:1513

	-->

	<ip:udp-inbound-channel-adapter id="udpReceiver"
		channel="syslogChannel"
		port="1513" />

	<syslog-to-map-transformer input-channel="syslogChannel" output-channel="out" />

	<channel id="out" />

	<stream:stdout-channel-adapter channel="out" append-newline="true"/>

</beans:beans>
