Class MqttConnector

java.lang.Object
io.smallrye.reactive.messaging.mqtt.MqttConnector
All Implemented Interfaces:
InboundConnector, OutboundConnector, io.smallrye.reactive.messaging.health.HealthReporter, org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory

@ApplicationScoped public class MqttConnector extends Object implements InboundConnector, OutboundConnector, io.smallrye.reactive.messaging.health.HealthReporter
  • Field Summary

    Fields inherited from interface org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory

    CHANNEL_NAME_ATTRIBUTE, CONNECTOR_ATTRIBUTE, CONNECTOR_PREFIX, INCOMING_PREFIX, OUTGOING_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    destroy(Object context)
     
    io.smallrye.reactive.messaging.health.HealthReport
     
    Flow.Publisher<? extends org.eclipse.microprofile.reactive.messaging.Message<?>>
    getPublisher(org.eclipse.microprofile.config.Config config)
     
    io.smallrye.reactive.messaging.health.HealthReport
     
    io.smallrye.reactive.messaging.health.HealthReport
     
    Flow.Subscriber<? extends org.eclipse.microprofile.reactive.messaging.Message<?>>
    getSubscriber(org.eclipse.microprofile.config.Config config)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MqttConnector

      public MqttConnector()
  • Method Details

    • getPublisher

      public Flow.Publisher<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getPublisher(org.eclipse.microprofile.config.Config config)
      Specified by:
      getPublisher in interface InboundConnector
    • getSubscriber

      public Flow.Subscriber<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getSubscriber(org.eclipse.microprofile.config.Config config)
      Specified by:
      getSubscriber in interface OutboundConnector
    • getStartup

      public io.smallrye.reactive.messaging.health.HealthReport getStartup()
      Specified by:
      getStartup in interface io.smallrye.reactive.messaging.health.HealthReporter
    • getReadiness

      public io.smallrye.reactive.messaging.health.HealthReport getReadiness()
      Specified by:
      getReadiness in interface io.smallrye.reactive.messaging.health.HealthReporter
    • getLiveness

      public io.smallrye.reactive.messaging.health.HealthReport getLiveness()
      Specified by:
      getLiveness in interface io.smallrye.reactive.messaging.health.HealthReporter
    • destroy

      public void destroy(@Observes @Destroyed(jakarta.enterprise.context.ApplicationScoped.class) Object context)