All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kltp-ei-module-intsvc.2.1.3.source-code.update-collect-service.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="utf-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:spring="http://www.springframework.org/schema/beans"
	xsi:schemaLocation="
		http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans-current.xsd
		http://www.mulesoft.org/schema/mule/core      http://www.mulesoft.org/schema/mule/core/current/mule.xsd
	">

	<spring:bean name="collectMessageCollectionStrategy"
			class="se.skltp.ei.intsvc.update.collect.MessageCollectionStrategyImpl">
		<spring:property name="maxBufferAgeMillis" value="${COLLECT_MAX_BUFFER_AGE_MILLIS}" />
		<spring:property name="maxRecordsInCollectedMessage" value="${COLLECT_MAX_RECORDS_IN_COLLECTED_MESSAGES}" />
		<spring:property name="maxBufferedRecords" value="${COLLECT_MAX_BUFFERED_RECORDS}" />
		<spring:property name="maxCollectedMessages" value="${COLLECT_MAX_COLLECTED_MESSAGES}" />
	</spring:bean>

	<spring:bean name="collectJmsMessageCollectionController"
			class="se.skltp.ei.intsvc.update.collect.JmsMessageCollectionController"
			init-method="init">
		<spring:property name="messageCollectionStrategy" ref="collectMessageCollectionStrategy" />
		<spring:property name="queueConnectionFactory" ref="soitoolkit-jms-connection-factory" />
		<spring:property name="jmsInputQueue" value="${COLLECT_QUEUE_WITH_CONSUMER_OPTIONS}" />
		<spring:property name="jmsOutputQueue" value="${PROCESS_QUEUE}" />
		<spring:property name="jmsErrorQueue" value="${COLLECT_ERROR_QUEUE}" />
		<spring:property name="jmsReceiveTimeoutMillis" value="${COLLECT_JMS_RECEIVE_TIMEOUT_MILLIS}" />
	</spring:bean>

</mule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy