Hi, I have a couple of interceptors on my client(jaxws:client) which are added using spring config (jaxws:inInterceptors). I would like one of these interceptors to be added based on a propery setting.
The only option I could get to work was using the property setting in the interceptor's handleMessage and decide whether or not to perform the required interceptor logic. So basically, when the condition is false, it always go to the handleMessage and does nothing. I assume the above solution is not ideal. Is there anyway I can control this properly, by a) Not adding the interceptor in the first place based on that propery (not sure if there is if/else condition in spring config) b) If we do have to add the interceptor in spring config, is there a way to obtain it and remove it later on from else where based on a property Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/Adding-a-conditional-interceptor-or-removing-one-based-on-a-condition-tp5710686.html Sent from the cxf-user mailing list archive at Nabble.com.
