Package org.eclipse.microprofile.reactive.messaging.spi
@Version("1.0")
package org.eclipse.microprofile.reactive.messaging.spi
The MicroProfile Reactive Messaging API Connector SPI
This package provides the SPI to implement connectors
. A connector
can be seen as a Reactive Messaging
plug-in to support a specific messaging technology. For example, you can have a Kafka connector to deal with Kafka,
an AMQP connector to interact with AMQP brokers and routers and so on. Connector implementation should be
agnostic to the Reactive Messaging implementation.
A connector can be seen as:
- a source of messages - it retrieves messages and injects them into the Reactive Messaging application. To
manage this direction, the connector implementation must implement the
IncomingConnectorFactory
interface. - a sink of messages - it forwards messages emitted by the Reactive Messaging application to the managed
technology. To achieve this, the connector implementation must implement the
OutgoingConnectorFactory
interface.
Connector
qualifier. Connectors receive the channel
configuration matching their Connector
name.-
ClassDescriptionQualifier used on connector implementations to indicate the associated underlying transport.Parent class for
IncomingConnectorFactory
andOutgoingConnectorFactory
.Supports inline instantiation of theConnector
qualifier.SPI used to implement a connector managing a source of messages for a specific transport.SPI used to implement a connector managing a sink of messages for a specific transport.