jasperreports-server-ce/common/shared-config/classes/cache_replication_settings.xml

68 lines
3.1 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright © 2005 - 2018 TIBCO Software Inc.
~ http://www.jaspersoft.com.
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
~
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<!-- Nevado settings START -->
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:aws.properties</value>
</list>
</property>
</bean>
<bean id="sqsConnectorFactory" class="org.skyscreamer.nevado.jms.connector.amazonaws.AmazonAwsSQSConnectorFactory" />
<bean id="connectionFactory" class="org.skyscreamer.nevado.jms.NevadoConnectionFactory">
<property name="sqsConnectorFactory" ref="sqsConnectorFactory" />
<property name="temporaryTopicSuffix" value="${aws.topicsuffix}" />
<property name="temporaryQueueSuffix" value="${aws.queuesuffix}" />
<property name="awsAccessKey" value="${aws.accessKey}" />
<property name="awsSecretKey" value="${aws.secretKey}" />
<property name="clientID" value="${aws.clientID}" />
<property name="threadCount" value="${aws.threadCount}" />
<property name="ehcacheTopic" ref="ehcacheJMSTopic"/>
<property name="ehcacheQueue" ref="ehcacheJMSQueue"/>
</bean>
<bean id="ehcacheJMSTopic" class="org.skyscreamer.nevado.jms.destination.NevadoTopic">
<constructor-arg value="${aws.nevadoTopicName}" />
</bean>
<bean id="ehcacheJMSQueue" class="org.skyscreamer.nevado.jms.destination.NevadoQueue">
<constructor-arg value="${aws.nevadoQueueName}" />
</bean>
<!-- Nevado settings END -->
<!-- ActiveMQ settings START -->
<util:list id="activeMQTrustedPackages" value-type="java.lang.String">
<value>*</value>
</util:list>
<!-- ActiveMQ settings END -->
</beans>