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

MicroProfile Context Propagation

This specification, which sits outside the MicroProfile umbrella of platform release, is still in the proposed or draft state. We will discuss this specification in more detail in the MicroProfile Future Developments section later in this chapter, but we would like to give you a high-level introduction here.

The MicroProfile Context Propagation specification introduces APIs for propagating contexts across units of work that are thread-agnostic. It makes it possible to propagate context that was traditionally associated with the current thread across various types of units of work, such as CompletionStage, CompletableFuture, Function, and Runnable, regardless of which particular thread ends up executing them. ...

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