3 Replies Latest reply on Aug 31, 2007 12:05 PM by wayne baylor

    how to exclude a caller in interceptor

    John Woo Newbie

      Hi,

      My app based on ejb3 (one of them is message driven bean).

      We define some interceptors for all session beans, but how can we achieve such that if caller is MDB, then bypass all intercepting stage. like

      <interceptor-binding>
      <ejb-name>myService</ejb-name>
      <interceptor-class>com.myInterceptor</interceptor-class>
      <exclude-caller>MDBname or MyMDBclass
      </interceptor-binding>

      Thanks
      John