t.commons.components.soitoolkit-commons-mule.2.0.0-M4.source-code.soitoolkit-mule-jdbc-xa-datasource-derby-external.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the soi-toolkit project under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The soi-toolkit project 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. --> <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 "> <!-- Expects settings in the property file similar to: SOITOOLKIT_JDBC_USR=myUsername SOITOOLKIT_JDBC_PWD=myPassowrd SOITOOLKIT_JDBC_DATABASE=myDb SOITOOLKIT_JDBC_HOST=myHost SOITOOLKIT_JDBC_PORT=myPort --> <spring:bean id="soitoolkit-jdbc-xa-datasource" class="org.apache.derby.jdbc.ClientXADataSource"> <spring:property name="user" value="${SOITOOLKIT_JDBC_USR}"/> <spring:property name="password" value="${SOITOOLKIT_JDBC_PWD}"/> <spring:property name="databaseName" value="${SOITOOLKIT_JDBC_DATABASE}"/> <spring:property name="serverName" value="${SOITOOLKIT_JDBC_HOST}"/> <spring:property name="portNumber" value="${SOITOOLKIT_JDBC_PORT}"/> <spring:property name="createDatabase" value="${SOITOOLKIT_JDBC_DERBY_CREATE_DB:create}"/> </spring:bean> </mule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy