Skip to content
New issue

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

Please provide @AsynchronousScoped #4

Open
baztian opened this issue Oct 12, 2016 · 2 comments
Open

Please provide @AsynchronousScoped #4

baztian opened this issue Oct 12, 2016 · 2 comments

Comments

@baztian
Copy link

baztian commented Oct 12, 2016

I like to have a scope that is still available in methods I call that are annotated with @asynchronous.

Would it be possible to write a @AsynchronousScoped as outlined here https://www.knitelius.com/2016/04/18/pushing-ahead-on-concurrency-for-java-ee-8/ with the microscoped framework?

@heruan
Copy link

heruan commented Feb 27, 2017

I'm very interested on this, too. I have an heavy task, so I've annotated it with @Asyncrhonous but it looses the scope of the caller.

@rmannibucau
Copy link

does https://deltaspike.apache.org/documentation/core.html#_asynchronous_operations help? loosing the caller scope is by design to not break scopes/code assumptions but ds would allow to propagate it with cdictrl probably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants