O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required