<?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:jdbc="http://www.springframework.org/schema/jdbc"
	xmlns:int-jdbc="http://www.springframework.org/schema/integration/jdbc"
	xmlns:int="http://www.springframework.org/schema/integration"
	xsi:schemaLocation="http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc.xsd
		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:channel id="requestChannel" />
	<int:channel id="replyChannel" />

	<jdbc:embedded-database id="datasource" type="HSQL" />

	<int-jdbc:stored-proc-outbound-gateway auto-startup="false"
		request-channel="requestChannel" stored-procedure-name="GET_PRIME_NUMBERS"
		data-source="datasource" id="storedProcedureOutboundGateway"
		ignore-column-meta-data="true" is-function="true"
		skip-undeclared-results="true" reply-channel="replyChannel"
		reply-timeout="555" return-value-required="false">
	</int-jdbc:stored-proc-outbound-gateway>

	<int:poller default="true" fixed-rate="10000" />
</beans>
