<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   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/xmpp https://www.springframework.org/schema/integration/xmpp/spring-integration-xmpp.xsd"
	   xmlns:int="http://www.springframework.org/schema/integration"
	   xmlns:int-xmpp="http://www.springframework.org/schema/integration/xmpp">


	<bean id="xmppConnection" class="org.springframework.integration.xmpp.config.XmppConnectionFactoryBean">
		<property name="host" value="localhost"/>
		<property name="user" value="test"/>
		<property name="autoStartup" value="false"/>
	</bean>

	<int:channel id="outboundEventChannel"/>

	<int-xmpp:outbound-channel-adapter id="outboundEventAdapter"
									   channel="outboundEventChannel"
									   xmpp-connection="xmppConnection"/>
</beans>
