Interface PublisherCallbackChannelFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface PublisherCallbackChannelFactory
    A factory for PublisherCallbackChannels.
    Since:
    2.1.6
    Author:
    Gary Russell
    • Method Detail

      • createChannel

        PublisherCallbackChannel createChannel​(com.rabbitmq.client.Channel delegate,
                                               java.util.concurrent.ExecutorService executor)
        Create a PublisherCallbackChannel instance based on the provided delegate and executor.
        Parameters:
        delegate - the delegate channel.
        executor - the executor.
        Returns:
        the channel.