Class AmqpConnector
- java.lang.Object
-
- io.smallrye.reactive.messaging.amqp.AmqpConnector
-
- 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 AmqpConnector extends Object implements org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory, org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory, io.smallrye.reactive.messaging.health.HealthReporter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClient(io.vertx.mutiny.amqp.AmqpClient client)
List<io.vertx.mutiny.amqp.AmqpClient>
getClients()
io.smallrye.reactive.messaging.health.HealthReport
getLiveness()
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.HealthReport
getReadiness()
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>,Void>
getSubscriberBuilder(org.eclipse.microprofile.config.Config config)
io.vertx.mutiny.core.Vertx
getVertx()
void
reportFailure(String channel, Throwable reason)
void
terminate(Object event)
-
-
-
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:
getPublisherBuilder
in 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:
getSubscriberBuilder
in interfaceorg.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory
-
terminate
public void terminate(@Observes(notifyObserver=IF_EXISTS) @Priority(50) @BeforeDestroyed(javax.enterprise.context.ApplicationScoped.class) Object event)
-
getVertx
public io.vertx.mutiny.core.Vertx getVertx()
-
addClient
public void addClient(io.vertx.mutiny.amqp.AmqpClient client)
-
getClients
public List<io.vertx.mutiny.amqp.AmqpClient> getClients()
-
getReadiness
public io.smallrye.reactive.messaging.health.HealthReport getReadiness()
- Specified by:
getReadiness
in interfaceio.smallrye.reactive.messaging.health.HealthReporter
-
getLiveness
public io.smallrye.reactive.messaging.health.HealthReport getLiveness()
- Specified by:
getLiveness
in interfaceio.smallrye.reactive.messaging.health.HealthReporter
-
-