Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2302

@org.eclipse.microprofile.faulttolerance.Asynchronous Not Working

    XMLWordPrintableJSON

Details

    Description

      Can be reproduced by testing with the following method inside ClassA, injected by ClassB:

      @org.eclipse.microprofile.faulttolerance.Asynchronous
      public Future<String> slowMethod() throws InterruptedException {
          TimeUnit.SECONDS.sleep(15);
          return CompletableFuture.completedFuture("Hello, World!");
      }
      

      Tested with the TomEE Maven Plugin with the same version ( 8.0.0-M1 ). Method is called synchronously. Desired result would be that the method is called asynchronously.

      Attachments

        Activity

          People

            Unassigned Unassigned
            poeia James Chen-Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: