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

Context Service chapter not updated in specification? #233

Open
arjantijms opened this issue Jun 21, 2022 · 2 comments
Open

Context Service chapter not updated in specification? #233

arjantijms opened this issue Jun 21, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@arjantijms
Copy link
Contributor

I'm looking at https://jakarta.ee/specifications/concurrency/3.0/jakarta-concurrency-spec-3.0.html#contextservice but it makes no mention of jakarta.enterprise.concurrent.ContextServiceDefinition and still mentions "The following section illustrates some possible configuration options that a Jakarta EE Product Provider may want to provide, instead of mentioning the standard configuration options.

@njr-11
Copy link
Contributor

njr-11 commented Jun 21, 2022

In addition to section 3.3.4 for ContextService, the same applies to ManagedExecutorService (section 3.1.4), ManagedScheduledExecutorService (section 3.2.4) and ManagedThreradFactory (section 3.4.4). It would be nice to switch all of these over to the corresponding resource definition annotation.

@hantsy
Copy link

hantsy commented Dec 6, 2023

In before experience, I try to call Jaxrs component in a Concurrency @Asynchonous method, the Jaxrs data is missing in the async context.

Jakarta EE requires a Spring Context Propagation like context management to share state seamlessly between varied contexts(ThreadLocal, CDI Context, Async Threads, JDK 9 Flow Reactive Context) when switching contexts.

See: https://github.com/micrometer-metrics/context-propagation

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

No branches or pull requests

4 participants