-
Notifications
You must be signed in to change notification settings - Fork 138
/
proxies.xml
33 lines (26 loc) · 1.16 KB
/
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
24
25
26
27
28
29
30
31
32
33
<!--
Routing Configuration
Have a look at
http://membrane-soa.org/service-proxy-doc/current/configuration/proxy-configuration.htm for
documentation and a reference explaining what XML elements can be used
how and where.
Changes to this file will be picked up almost instantly if Membrane is
running once this file has been saved. Any dynamic configuration changes
made (for example, via the adminConsole) will be forgotten.
-->
<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="headerAddInterceptor" class="com.predic8.AddSoapHeaderInterceptor" />
<router>
<serviceProxy name="echo" port="2000">
<interceptor refid="headerAddInterceptor"/>
<log headerOnly="false"/>
<groovy>
Response.ok("Look at the output of Membrane!\n").build()
</groovy>
</serviceProxy>
</router>
</spring:beans>