We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/eclipse/microprofile-fault-tolerance/blob/master/spec/src/main/asciidoc/asynchronous.asciidoc#asynchronous
Any methods marked with this annotation must return one of:
java.util.concurrent.Future java.util.concurrent.CompletionStage Otherwise, org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException occurs during deployment.
java.util.concurrent.Future
java.util.concurrent.CompletionStage
The text was updated successfully, but these errors were encountered:
I can pick this up
Sorry, something went wrong.
I reopen the issue because according to this test https://github.com/eclipse/microprofile-fault-tolerance/blob/e7a1f982b2a0bae837ae99115e8da5e9c67d230b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationClass.java#L30, it seems that @asynchronous annotation can be set on the class (not only on the methods) and all methods are considered as Asynchronous (it's my supposition)
@AlexXuChen could you check that in a real application, implement this new usecase and write a test. Thanks!
kathrynkodama
Successfully merging a pull request may close this issue.
https://github.com/eclipse/microprofile-fault-tolerance/blob/master/spec/src/main/asciidoc/asynchronous.asciidoc#asynchronous
Any methods marked with this annotation must return one of:
java.util.concurrent.Future
java.util.concurrent.CompletionStage
Otherwise, org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException occurs during deployment.
The text was updated successfully, but these errors were encountered: