Skip to content

Commit

Permalink
apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Rouse <[email protected]>
Signed-off-by: Ladislav Thon <[email protected]>
  • Loading branch information
Ladicek and Azquelt committed Jul 16, 2020
1 parent 0d6d252 commit 729bf57
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions spec/src/main/asciidoc/optional-integrations.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,13 @@ These behaviors are currently optional because the MicroProfile Context Propagat
==== `@Asynchronous`

Implementations should use MicroProfile Context Propagation to propagate contexts to threads that are servicing `@Asynchronous` invocations.
The decision which contexts are propagated and which are cleared is left to the MicroProfile Context Propagation implementation.
Deciding which contexts are propagated and which are cleared is left to the MicroProfile Context Propagation implementation.

[NOTE]
====
MicroProfile Context Propagation doesn't define which contexts are propagated and which are cleared by default.
This is left to implementations.
However, there are configuration properties that you can use for this purpose.
This note is valid at least with MicroProfile Context Propagation version 1.0.2, latest at the time of writing.
Future versions of MicroProfile Context Propagation might change.
Such changes, however, won't affect this specification.
MicroProfile Fault Tolerance shall continue recommending that context propagation is left to MicroProfile Context Propagation.
As of version 1.0.2, MicroProfile Context Propagation doesn't define which contexts are propagated and which are cleared by default, this is left to implementations.
However, there are configuration properties that you can use to override the default setting.
====

If the environment that provides MicroProfile Context Propagation is itself a Jakarta EE container, the _Jakarta EE_ section above doesn't apply and context propagation is left entirely to MicroProfile Context Propagation.

0 comments on commit 729bf57

Please sign in to comment.