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

	<int:channel id="outboundChannel"/>

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

	<int-jms:outbound-gateway id="outboundGateway"
							  request-channel="outboundChannel"
							  request-destination="extractRecRepQueue"
							  reply-channel="replyChannel"
							  receive-timeout="10000"
							  reply-timeout="10000"/>


	<int-jms:inbound-gateway id="inboundGateway"
							 request-destination="extractRecRepQueue"
							 request-channel="jmsInputChannel"
							 request-timeout="10000"
							 reply-timeout="10000"/>

	<int:channel id="jmsInputChannel"/>

	<bean id="extractRecRepQueue" class="org.apache.activemq.artemis.jms.client.ActiveMQQueue">
		<constructor-arg value="request.queue.req.rep"/>
	</bean>

	<util:constant id="jmsConnectionFactory"
				   static-field="org.springframework.integration.jms.ActiveMQMultiContextTests.connectionFactory"/>

</beans>
