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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment Visibility
    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

            • Assignee:
              Unassigned
              Reporter:
              poeia James Chen-Smith

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment