5 Replies Latest reply on Mar 7, 2011 12:20 AM by Amal Raj Vinoth James

    skip or exit from interceptor chain using custom interceptor?

    Amal Raj Vinoth James Newbie

      Dear All,

       

       

      • can we terminate the interceptor chain once our interceptor gets executed?
      • consider the following interceptor chain:

       

            org.infinispan.interceptors.InvocationContextInterceptor

            org.infinispan.interceptors.CacheMgmtInterceptor

            org.infinispan.interceptors.TxInterceptor

            org.infinispan.interceptors.NotificationInterceptor

            org.infinispan.interceptors.LockingInterceptor

            org.infinispan.interceptors.ReplicationInterceptor

            org.infinispan.interceptors.CallInterceptor

       

      i want to insert a custom interceptor in position 5. in custom interceptor i want to skip the rest of the chain. is it possible?

       

       

      thanks

       

      Regads,

      amal.