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

	<import resource="../common-test-context.xml" />

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

	<int-voldemort:inbound-channel-adapter id="voldemortInKey" channel="voldemortInboundChannel" search-key="lukasz"
		store-client="storeClient">
		<int:poller fixed-rate="1000" />
	</int-voldemort:inbound-channel-adapter>

	<int-voldemort:inbound-channel-adapter id="voldemortInExpr" channel="voldemortInboundChannel"
		search-key-expression="new String('KINGA').toLowerCase()"
		store-client="storeClient" extract-value="false">
		<int:poller fixed-rate="1000" />
	</int-voldemort:inbound-channel-adapter>

	<int-voldemort:inbound-channel-adapter id="voldemortInDelete" channel="voldemortInboundChannel" search-key="robert"
		store-client="storeClient" delete-after-poll="true">
		<int:poller fixed-rate="1000" />
	</int-voldemort:inbound-channel-adapter>
</beans>
