Interface ConnectionNameStrategy

  • All Known Implementing Classes:
    SimplePropertyValueConnectionNameStrategy
    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 ConnectionNameStrategy
    A strategy to build an application-specific connection name, which can be displayed in the management UI if RabbitMQ server supports it. The value doesn't have to be unique and cannot be used as a connection identifier e.g. in HTTP API requests. The value is supposed to be human-readable.
    Since:
    2.0
    Author:
    Artem Bilan
    See Also:
    ConnectionFactory.newConnection(com.rabbitmq.client.Address[], String)