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

	<int:poller id="outer" fixed-rate="5000"/>

	<int:channel id="someChannel"/>

	<int-jdbc:inbound-channel-adapter channel="someChannel" jdbc-operations="ops" 
			query="select 1" auto-startup="false">
		<int:poller ref="outer"/>
	</int-jdbc:inbound-channel-adapter>

	<bean id="ops" class="org.mockito.Mockito" factory-method="mock">
		<constructor-arg value="org.springframework.jdbc.core.JdbcOperations" type="java.lang.Class"/>
	</bean>
</beans>
