Refering to the Manual (http://static.springframework.org/sp...adlocalchannel) an interceptor can be configured like this:
Since M6 it is something like this:Code:<channel id="exampleChannel"> <interceptor ref="trafficMonitoringInterceptor"/> </channel>
Unfortunately I have no idea how to add an Interceptor. I have tried this:Code:<channel id="exampleChannel"> <interceptors ??/> </channel>
But this doesn't workCode:<channel id="exampleChannel"> <interceptors> <beans:bean id="interceptorsList" class="java.util.ArrayList"> <beans:constructor-arg> <beans:list> <beans:ref bean="someChannelInterceptor"/> </beans:list> </beans:constructor-arg> </beans:bean> </interceptors> </channel>!


!
Reply With Quote