tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Smith (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-2302) @org.eclipse.microprofile.faulttolerance.Asynchronous Not Working
Date Fri, 30 Nov 2018 16:38:00 GMT
James Smith created TOMEE-2302:
----------------------------------

             Summary: @org.eclipse.microprofile.faulttolerance.Asynchronous Not Working
                 Key: TOMEE-2302
                 URL: https://issues.apache.org/jira/browse/TOMEE-2302
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server, TomEE Maven Plugin
    Affects Versions: 8.0.0-M1
            Reporter: James Smith


Can be reproduced by testing with the following method inside *ClassA*, injected by *ClassB*:
{code:java}
@org.eclipse.microprofile.faulttolerance.Asynchronous
public Future<String> slowMethod() throws InterruptedException {
    TimeUnit.SECONDS.sleep(15);
    return CompletableFuture.completedFuture("Hello, World!");
}
{code}
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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message