<?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-redis="http://www.springframework.org/schema/integration/redis"
	   xsi:schemaLocation="http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/integration/redis https://www.springframework.org/schema/integration/redis/spring-integration-redis.xsd">

	<bean id="redisConnectionFactory" class="org.springframework.integration.redis.RedisContainerTest"
		  factory-method="connectionFactory"/>

	<int:channel id="someChannel"/>

	<int-redis:store-outbound-channel-adapter id="listWithKeyAsHeader"/>

	<int-redis:store-outbound-channel-adapter id="listWithKeyProvided"
											  collection-type="LIST"
											  key="pepboys"/>

	<int-redis:store-outbound-channel-adapter id="mapToZset"
											  collection-type="ZSET"
											  key-expression="'presidents'"/>

	<int-redis:store-outbound-channel-adapter id="zset"
											  collection-type="ZSET"/>

	<int-redis:store-outbound-channel-adapter id="mapToMapA"
											  collection-type="MAP"
											  map-key-expression="'foo'"
											  key="pepboys"/>

	<int-redis:store-outbound-channel-adapter id="mapToMapB"
											  collection-type="MAP"
											  extract-payload-elements="false"/>

	<int-redis:store-outbound-channel-adapter id="simpleMap"
											  collection-type="MAP"/>

	<int-redis:store-outbound-channel-adapter id="set"
											  collection-type="SET"/>

	<int-redis:store-outbound-channel-adapter id="setNotParsed"
											  collection-type="SET"
											  extract-payload-elements="false"/>

	<int-redis:store-outbound-channel-adapter id="pojoIntoSet"
											  collection-type="SET"/>

	<int-redis:store-outbound-channel-adapter id="property"
											  collection-type="PROPERTIES"
											  key="pepboys"/>

	<int-redis:store-outbound-channel-adapter id="simpleProperty"
											  map-key-expression="headers['baz']"
											  collection-type="PROPERTIES"/>

</beans>
