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

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

	<bean id="messageStore" class="org.springframework.integration.jdbc.store.JdbcMessageStore">
		<constructor-arg ref="dataSource"/>
		<property name="lobHandler" ref="lobHandler"/>
		<property name="region" value="FOO"/>
		<property name="tablePrefix" value="BAR_"/>
		<property name="checkDatabaseOnStart" value="false"/>
	</bean>

	<bean id="lobHandler" class="org.springframework.jdbc.support.lob.DefaultLobHandler"/>

</beans>
