+49 228 5552576-0




Can be used in

spring:beans, if, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy and transport


				<interceptor refid="string" name="string" />				
Listing 1: interceptor Syntax


Assume that an interceptor is definied as Spring bean.

				<spring:beans xmlns:spring="http://www.springframework.org/schema/beans" ...>
					<spring:bean id="myInterceptor" class="com.predic8.MyInterceptor">
						<spring:property name="myProperty" value="value"/>
Listing 2: Custom Interceptor Defined in monitor-beans.xml

The following serviceProxy uses the interceptor element to reference the custom interceptor.

				<serviceProxy port="2000">
					<interceptor refid="myInterceptor" />				
Listing 3: ServiceProxy Referencing a Custom Interceptor from monitor-beans.xml


Name Required Default Description Example
refid true - Spring bean id of the referenced interceptor. myInterceptor

See Also

You can find a example how to create a custom interceptor in the examples/custom-interceptor directory in your Membrane distribution.

Copyright © 2008-2018 predic8 GmbH
Koblenzerstr. 65, 53173 Bonn, Tel. +49 (228) 555 25 76-0