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

	<import resource="classpath:org/springframework/integration/hazelcast/common-config.xml"/>

	<int:channel id="edMultiMapChannel1">
		<int:queue/>
	</int:channel>

	<int:channel id="edMultiMapChannel2">
		<int:queue/>
	</int:channel>

	<int:channel id="edMultiMapChannel3">
		<int:queue/>
	</int:channel>

	<int-hazelcast:inbound-channel-adapter channel="edMultiMapChannel1" cache="edMultiMap1"/>
	<int-hazelcast:inbound-channel-adapter channel="edMultiMapChannel2" cache="edMultiMap2" cache-events="REMOVED"/>
	<int-hazelcast:inbound-channel-adapter channel="edMultiMapChannel3" cache="edMultiMap3"
										   cache-events="ADDED,REMOVED,CLEAR_ALL"/>

	<bean id="edMultiMap1" factory-bean="instance" factory-method="getMultiMap">
		<constructor-arg value="edMultiMap1"/>
	</bean>

	<bean id="edMultiMap2" factory-bean="instance" factory-method="getMultiMap">
		<constructor-arg value="edMultiMap2"/>
	</bean>

	<bean id="edMultiMap3" factory-bean="instance" factory-method="getMultiMap">
		<constructor-arg value="edMultiMap3"/>
	</bean>

</beans>
