You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since a few releases already, SR-CP supports contextual context propagation, where you can affect the set of contexts that should be propagated in a given scope using the @WithThreadContext annotation on a method (via a CDI interceptor), or an equivalent API.
Since a few releases already, SR-CP supports contextual context propagation, where you can affect the set of contexts that should be propagated in a given scope using the
@WithThreadContext
annotation on a method (via a CDI interceptor), or an equivalent API.But in order to do that, you need to use the thread-local
ThreadContext
viaSmallRyeThreadContext.getCurrentThreadContext()
rather than create one yourself, in https://github.com/smallrye/smallrye-mutiny/tree/main/context-propagation/src/main/java/io/smallrye/mutiny/contextI can whip up a PR for that with some tests, probably next week if I don't forget.
The text was updated successfully, but these errors were encountered: