Class HiveMQMqttConnector
- java.lang.Object
-
- io.quarkiverse.hivemqclient.smallrye.reactive.HiveMQMqttConnector
-
- All Implemented Interfaces:
io.smallrye.reactive.messaging.health.HealthReporter,org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory,org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory,org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory
@ApplicationScoped public class HiveMQMqttConnector extends Object implements org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory, org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory, io.smallrye.reactive.messaging.health.HealthReporter
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONNECTOR_NAME
-
Constructor Summary
Constructors Constructor Description HiveMQMqttConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy(Object context)io.smallrye.reactive.messaging.health.HealthReportgetLiveness()org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>>getPublisherBuilder(org.eclipse.microprofile.config.Config config)io.smallrye.reactive.messaging.health.HealthReportgetReadiness()org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>,Void>getSubscriberBuilder(org.eclipse.microprofile.config.Config config)booleanisReady()booleanisSourceReady()
-
-
-
Field Detail
-
CONNECTOR_NAME
public static final String CONNECTOR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPublisherBuilder
public org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getPublisherBuilder(org.eclipse.microprofile.config.Config config)
- Specified by:
getPublisherBuilderin interfaceorg.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory
-
getSubscriberBuilder
public org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>,Void> getSubscriberBuilder(org.eclipse.microprofile.config.Config config)
- Specified by:
getSubscriberBuilderin interfaceorg.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory
-
isReady
public boolean isReady()
-
isSourceReady
public boolean isSourceReady()
-
destroy
public void destroy(@Observes @Destroyed(javax.enterprise.context.ApplicationScoped.class) Object context)
-
getReadiness
public io.smallrye.reactive.messaging.health.HealthReport getReadiness()
- Specified by:
getReadinessin interfaceio.smallrye.reactive.messaging.health.HealthReporter
-
getLiveness
public io.smallrye.reactive.messaging.health.HealthReport getLiveness()
- Specified by:
getLivenessin interfaceio.smallrye.reactive.messaging.health.HealthReporter
-
-