| Modifier and Type | Class and Description |
|---|---|
class |
MessageSubscriptionCreator
Creates a new listener for a queue on AMQP to receive deserialized
Messages. |
| Modifier and Type | Method and Description |
|---|---|
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.forExistingQueue(String queueName)
Configures the listener to be subscribed to an existing queue.
|
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.onError(AmqpSubscriptionCreator.ReceiptAction receiptAction)
Sets the message receipt to be sent to the AMQP server if an error occurred during message handling.
|
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.onMessage(AmqpSubscriptionCreator.AmqpMessageHandler amqpMessageHandler)
Registers the
AmqpSubscriptionCreator.AmqpMessageHandler to process received messages. |
static AmqpSubscriptionCreator |
AmqpSubscriptionCreator.usingChannel(com.rabbitmq.client.Channel channel)
Instantiates a new
AmqpSubscriptionCreator for the given Channel. |
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.withAutoAck(boolean autoAck)
Controls whether all messages should be automatically acknowledged.
|
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.withExchangeParameters(ExchangeParameters exchangeParameters)
Sets the
ExchangeParameters to be used. |
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.withLogPrefix(String logPrefix)
Configures the prefix name to use for all log messages.
|
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.withQueueRoutingKeys(Collection<String> queueRoutingKeys)
Configures the routing keys the queue should be bound to.
|
AmqpSubscriptionCreator |
AmqpSubscriptionCreator.withQueueRoutingKeys(String... queueRoutingKeys)
Configures the routing key(s) the queue should be bound to.
|
Copyright © 2025. All rights reserved.