| Modifier and Type | Method and Description |
|---|---|
MessageSubscriptionCreator |
MessageSubscriptionCreator.forExistingQueue(String queueName) |
MessageSubscriptionCreator |
MessageSubscriptionCreator.ignoringMessages(Class<? extends Message>... messageClasses)
Registers the given
Message types to be ignored. |
MessageSubscriptionCreator |
MessageSubscriptionCreator.ignoringMessages(Collection<Class<? extends Message>> messageClasses)
Registers the given
Message types to be ignored. |
MessageSubscriptionCreator |
MessageSubscriptionCreator.notOlderThan(Duration messageTimeout)
Sets the message timeout.
|
MessageSubscriptionCreator |
MessageSubscriptionCreator.notSentAfter(Instant maximumMessageTimestamp)
Sets the maximum timestamp received messages must indicate.
|
MessageSubscriptionCreator |
MessageSubscriptionCreator.notSentBefore(AtomicReference<Instant> minimumMessageTimestamp)
Sets the reference to read the minimum timestamp from which received messages must indicate.
|
MessageSubscriptionCreator |
MessageSubscriptionCreator.notSentBefore(Instant minimumMessageTimestamp)
Sets the minimum timestamp received messages must indicate.
|
MessageSubscriptionCreator |
MessageSubscriptionCreator.onError(AmqpSubscriptionCreator.ReceiptAction receiptAction) |
MessageSubscriptionCreator |
MessageSubscriptionCreator.onIgnore(AmqpSubscriptionCreator.ReceiptAction receiptAction)
Sets the
ReceiptAction for all ignored messages (filtered by timestamp or message type). |
<M extends Message> |
MessageSubscriptionCreator.onMessage(Class<M> messageClass,
MessageSubscriptionCreator.MessageHandler<M> messageHandler)
Registers a
MessageSubscriptionCreator.MessageHandler for the given Message type. |
static MessageSubscriptionCreator |
MessageSubscriptionCreator.usingChannel(com.rabbitmq.client.Channel channel)
Instantiates a new
MessageSubscriptionCreator for the given Channel. |
MessageSubscriptionCreator |
MessageSubscriptionCreator.withAutoAck(boolean autoAck) |
MessageSubscriptionCreator |
MessageSubscriptionCreator.withCryptor(org.vatplanner.commons.crypto.Cryptor cryptor)
Provides a
Cryptor to decrypt messages and verify signatures. |
MessageSubscriptionCreator |
MessageSubscriptionCreator.withExchangeParameters(ExchangeParameters exchangeParameters) |
MessageSubscriptionCreator |
MessageSubscriptionCreator.withLogPrefix(String logPrefix) |
MessageSubscriptionCreator |
MessageSubscriptionCreator.withQueueRoutingKeys(Collection<String> queueRoutingKeys) |
MessageSubscriptionCreator |
MessageSubscriptionCreator.withQueueRoutingKeys(String... queueRoutingKeys) |
Copyright © 2025. All rights reserved.