public class AmqpCreditBasedSender extends Object implements org.reactivestreams.Processor<Message<?>,Message<?>>, org.reactivestreams.Subscription
Constructor and Description |
---|
AmqpCreditBasedSender(AmqpConnector connector,
ConnectionHolder holder,
AmqpConnectorOutgoingConfiguration configuration,
io.smallrye.mutiny.Uni<io.vertx.mutiny.amqp.AmqpSender> retrieveSender) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
onComplete() |
void |
onError(Throwable throwable) |
void |
onNext(Message<?> message) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
void |
request(long l) |
void |
subscribe(org.reactivestreams.Subscriber<? super Message<?>> subscriber) |
public AmqpCreditBasedSender(AmqpConnector connector, ConnectionHolder holder, AmqpConnectorOutgoingConfiguration configuration, io.smallrye.mutiny.Uni<io.vertx.mutiny.amqp.AmqpSender> retrieveSender)
public void subscribe(org.reactivestreams.Subscriber<? super Message<?>> subscriber)
subscribe
in interface org.reactivestreams.Publisher<Message<?>>
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe
in interface org.reactivestreams.Subscriber<Message<?>>
public void onNext(Message<?> message)
onNext
in interface org.reactivestreams.Subscriber<Message<?>>
public void onError(Throwable throwable)
onError
in interface org.reactivestreams.Subscriber<Message<?>>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<Message<?>>
public void request(long l)
request
in interface org.reactivestreams.Subscription
public void cancel()
cancel
in interface org.reactivestreams.Subscription
Copyright © 2018–2021 SmallRye. All rights reserved.