forked from membrane/api-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proxies.xml
23 lines (18 loc) · 992 Bytes
/
proxies.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<spring:beans xmlns="http://membrane-soa.org/proxies/1/"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
http://membrane-soa.org/proxies/1/ http://membrane-soa.org/schemas/proxies-1.xsd">
<spring:bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource">
<spring:property name="driverClassName" value="org.apache.derby.jdbc.ClientDriver" />
<spring:property name="url" value="jdbc:derby://localhost:1527/membranedb;create=true" />
<spring:property name="username" value="membrane" />
<spring:property name="password" value="membranemembrane" />
</spring:bean>
<router>
<serviceProxy name="predic8.com" port="2000">
<statisticsJDBC dataSource="dataSource" />
<target host="membrane-soa.org" port="80" />
</serviceProxy>
</router>
</spring:beans>