Repository: fineract Updated Branches: refs/heads/develop 455ef9827 -> 3e1705a47
http://git-wip-us.apache.org/repos/asf/fineract/blob/c60c6601/fineract-provider/src/test/resources/META-INF/testNotificationContext.xml ---------------------------------------------------------------------- diff --git a/fineract-provider/src/test/resources/META-INF/testNotificationContext.xml b/fineract-provider/src/test/resources/META-INF/testNotificationContext.xml new file mode 100644 index 0000000..580b2ca --- /dev/null +++ b/fineract-provider/src/test/resources/META-INF/testNotificationContext.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:jms="http://www.springframework.org/schema/jms" + xsi:schemaLocation=" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd +http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-2.5.xsd"> + + <bean id="destinationManager" class="com.mockrunner.jms.DestinationManager"/> + + <bean id="mockQueue" factory-bean="destinationManager" factory-method="createQueue"> + <constructor-arg index="0" value="demoMockRunnerQueue" /> + </bean> + + <bean id="configurationManager" class="com.mockrunner.jms.ConfigurationManager"/> + + <bean id="jmsQueueConnectionFactory" class="com.mockrunner.mock.jms.MockQueueConnectionFactory"> + <constructor-arg index="0" ref="destinationManager" /> + <constructor-arg index="1" ref="configurationManager" /> + </bean> + + <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate"> + <property name="connectionFactory" ref="jmsQueueConnectionFactory" /> + </bean> + + <jms:listener-container connection-factory="jmsQueueConnectionFactory" > + <jms:listener destination="demoMockRunnerQueue" ref="testListener" method="onMessage" /> + </jms:listener-container> + + <bean id="testListener" class="org.apache.fineract.notification.Listener" /> + +</beans> http://git-wip-us.apache.org/repos/asf/fineract/blob/c60c6601/licenses/binary/JarAnalyzer.BSD ---------------------------------------------------------------------- diff --git a/licenses/binary/JarAnalyzer.BSD b/licenses/binary/JarAnalyzer.BSD new file mode 100644 index 0000000..40e31df --- /dev/null +++ b/licenses/binary/JarAnalyzer.BSD @@ -0,0 +1,26 @@ +Copyright 1992-2017 The FreeBSD Project. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list +of conditions and the following disclaimer.Redistributions in binary form must +reproduce the above copyright notice, this list of conditions and the following +disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of the FreeBSD Project.
