Interface BrokerConfigResolver

  • 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 BrokerConfigResolver
    The broker config resolver component is in charge of providing the proper broker configuration (i.e. url, username, password) from a broker configuration identifier. This way the sensible broker configuration information doesn't need to be publicly exchanged from the client to the event gateway.
    • Method Detail

      • resolveBrokerConfig

        BrokerConfig resolveBrokerConfig​(String brokerConfigId)
        Resolve a BrokerConfig from its corresponding identifier.
        Parameters:
        brokerConfigId - the broken configuration identifier
        Returns:
        the resolved broker configuration