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

Message shapes

The MP-RM specification defines a number of supported signature types that beans can use to define publish and subscriber behaviors. These signatures depend on a few key types that are outlined in the following list:

  • org.reactivestreams.Publisher: A Reactive Streams Publisher<T> is a provider of a potentially unlimited number of sequenced elements, publishing them according to the demand received from its link subscriber(s).
  • org.reactivestreams.Subscriber: A Reactive Stream Subscriber<T> interface that is used to signal demand to Publisher. It provides events for subscription information, zero or more data events, and error and completion events.
  • org.reactivestreams.Processor: This Reactive Stream Processor<T,R> interface ...

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