Context Propagation

The goal of the MicroProfile Context Propagation specification is to propagate context across units of work that are thread-agnostic. In a reactive model, the execution of logic is split into units of work that are chained together to assemble a reactive pipeline. Each unit of work executes within a context, which is often unpredictable and depends on the particular reactive engine being used. Some units might run with the context of a thread awaiting completion, or the context of a previous unit that completed and triggered the dependent unit, or with no context at all. The MicroProfile Context Propagation specification makes it possible for thread context propagation to easily be done in a type-safe manner, keeping boilerplate ...

Get Hands-On Enterprise Java Microservices with Eclipse MicroProfile now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.