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

	<import resource="classpath:/hibernateJpa-context.xml" />

	<int:channel id="in"/>
	<int:channel id="out"/>

	<int-jpa:retrieving-outbound-gateway id="invalidRetrievingJpaOutboundGateway"
		entity-manager-factory="entityManagerFactory"
		auto-startup="true"
		entity-class="org.springframework.integration.jpa.test.entity.StudentDomain"
		order="1"
		max-results="55"
		first-result="1"
		first-result-expression="header['firstResult']"
		request-channel="in"
		reply-channel="out"
		reply-timeout="100"
		requires-reply="false"/>
</beans>
