| Constructor and Description |
|---|
SenderOptions() |
| Modifier and Type | Method and Description |
|---|---|
SenderOptions |
channelCloseHandler(java.util.function.BiConsumer<SignalType,com.rabbitmq.client.Channel> channelCloseHandler)
Set the channel closing logic.
|
SenderOptions |
channelMono(Mono<? extends com.rabbitmq.client.Channel> channelMono)
Sets the channel mono to use in send methods.
|
SenderOptions |
channelPool(ChannelPool channelPool)
Set the channel pool to use to send messages.
|
SenderOptions |
connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory) |
SenderOptions |
connectionMono(Mono<? extends com.rabbitmq.client.Connection> connectionMono) |
SenderOptions |
connectionSubscriptionScheduler(Scheduler connectionSubscriptionScheduler)
Scheduler used on connection creation subscription.
|
SenderOptions |
connectionSupplier(com.rabbitmq.client.ConnectionFactory connectionFactory,
Utils.ExceptionFunction<com.rabbitmq.client.ConnectionFactory,? extends com.rabbitmq.client.Connection> function) |
SenderOptions |
connectionSupplier(Utils.ExceptionFunction<com.rabbitmq.client.ConnectionFactory,? extends com.rabbitmq.client.Connection> function) |
java.util.function.BiConsumer<SignalType,com.rabbitmq.client.Channel> |
getChannelCloseHandler()
Returns the channel closing logic.
|
Mono<? extends com.rabbitmq.client.Channel> |
getChannelMono()
Returns the channel mono to use in send methods.
|
com.rabbitmq.client.ConnectionFactory |
getConnectionFactory() |
Mono<? extends com.rabbitmq.client.Connection> |
getConnectionMono() |
Scheduler |
getConnectionSubscriptionScheduler() |
Mono<? extends com.rabbitmq.client.Channel> |
getResourceManagementChannelMono() |
Scheduler |
getResourceManagementScheduler() |
SenderOptions |
resourceManagementChannelMono(Mono<? extends com.rabbitmq.client.Channel> resourceManagementChannelMono) |
SenderOptions |
resourceManagementScheduler(Scheduler resourceManagementScheduler)
Resource management scheduler.
|
public com.rabbitmq.client.ConnectionFactory getConnectionFactory()
public SenderOptions connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory)
public Scheduler getResourceManagementScheduler()
public SenderOptions resourceManagementScheduler(Scheduler resourceManagementScheduler)
resourceManagementScheduler - SenderOptions instancepublic Scheduler getConnectionSubscriptionScheduler()
public SenderOptions connectionSubscriptionScheduler(Scheduler connectionSubscriptionScheduler)
connectionSubscriptionScheduler - SenderOptions instancepublic SenderOptions connectionSupplier(Utils.ExceptionFunction<com.rabbitmq.client.ConnectionFactory,? extends com.rabbitmq.client.Connection> function)
public SenderOptions connectionSupplier(com.rabbitmq.client.ConnectionFactory connectionFactory, Utils.ExceptionFunction<com.rabbitmq.client.ConnectionFactory,? extends com.rabbitmq.client.Connection> function)
public SenderOptions connectionMono(Mono<? extends com.rabbitmq.client.Connection> connectionMono)
public Mono<? extends com.rabbitmq.client.Connection> getConnectionMono()
public SenderOptions channelMono(Mono<? extends com.rabbitmq.client.Channel> channelMono)
channelMono - the channel mono to useSenderOptions instancepublic Mono<? extends com.rabbitmq.client.Channel> getChannelMono()
public java.util.function.BiConsumer<SignalType,com.rabbitmq.client.Channel> getChannelCloseHandler()
public SenderOptions channelCloseHandler(java.util.function.BiConsumer<SignalType,com.rabbitmq.client.Channel> channelCloseHandler)
channelCloseHandler - the closing logicSenderOptions instancepublic SenderOptions channelPool(ChannelPool channelPool)
channelPool - SenderOptions instancepublic SenderOptions resourceManagementChannelMono(Mono<? extends com.rabbitmq.client.Channel> resourceManagementChannelMono)
public Mono<? extends com.rabbitmq.client.Channel> getResourceManagementChannelMono()