Class RabbitMQConfig


  • public class RabbitMQConfig
    extends Object
    • Constructor Detail

      • RabbitMQConfig

        public RabbitMQConfig​(com.rabbitmq.client.ConnectionFactory connectionFactory,
                              Map<String,​Object> properties)
    • Method Detail

      • getConnectionFactory

        public com.rabbitmq.client.ConnectionFactory getConnectionFactory()
      • loadConfiguredOrThrow

        public <T extends io.atleon.util.Configurable> T loadConfiguredOrThrow​(String property,
                                                                               Class<? extends T> type)
      • loadConfiguredWithPredefinedTypes

        public <T extends io.atleon.util.Configurable> Optional<T> loadConfiguredWithPredefinedTypes​(String key,
                                                                                                     Class<? extends T> type,
                                                                                                     Function<String,​Optional<T>> predefinedTypeInstantiator)