1 Reply Latest reply on May 6, 2007 3:01 PM by pmuir

    @Asynchronous

    toni

      Hi,

      I'm using @Asynchronous on a SFSB and I get the expected behaviour. The current thread is not being blocked until the method completes.

      However, if I use a non HTTP client and a context lookup, then the active thread is actually being blocked, until the method finishes.

      So if use something like:

       sfsb = (MySFSB) initialContext.lookup("/myApp/MySFSB/remote");
       sfsb.asychronousCall();
      


      then the call blocks the current thread.

        • 1. Re: @Asynchronous
          pmuir

          Can you check to see if the org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke is being applied (put a breakpoint on the method). And also put a break on org.jboss.seam.intercept.RootInteceptor.invoke and see which branch of the if statement is taken.