All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rabbitmq.client.impl.recovery.RecoveredQueueNameSupplier Maven / Gradle / Ivy

Go to download

The RabbitMQ Java client library allows Java applications to interface with RabbitMQ.

There is a newer version: 5.22.0
Show newest version
package com.rabbitmq.client.impl.recovery;

/**
 * Functional callback interface that can be used to rename a queue during topology recovery.
 * Can use along with {@link QueueRecoveryListener} to know when such a queue has been recovered successfully.
 * 
 * @see QueueRecoveryListener
 */
@FunctionalInterface
public interface RecoveredQueueNameSupplier {

    /**
     * Get the queue name to use when recovering this RecordedQueue entity
     * @param recordedQueue the queue to be recovered
     * @return new queue name
     */
    String getNameToUseForRecovery(final RecordedQueue recordedQueue);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy