You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "James Smith (JIRA)" <ji...@apache.org> on 2019/02/25 22:20:00 UTC

[jira] [Resolved] (TOMEE-2302) @org.eclipse.microprofile.faulttolerance.Asynchronous Not Working

     [ https://issues.apache.org/jira/browse/TOMEE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Smith resolved TOMEE-2302.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 8.0.0-M2

Issue is fixed in *8.0.0-M2*.

> @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
>            Priority: Major
>              Labels: microprofile
>             Fix For: 8.0.0-M2
>
>
> 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)