Package io.atleon.rabbitmq
Class RabbitMQConfig
- java.lang.Object
-
- io.atleon.rabbitmq.RabbitMQConfig
-
public class RabbitMQConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description RabbitMQConfig(com.rabbitmq.client.ConnectionFactory connectionFactory, Map<String,Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.rabbitmq.client.ConnectionFactorygetConnectionFactory()<T> Optional<T>load(String property, Function<? super String,T> parser)<T extends Configurable>
Optional<T>loadConfigured(String property)<T extends Configurable>
TloadConfiguredOrThrow(String property)<T extends Configurable>
List<T>loadListOfConfigured(String property)
-
-
-
Method Detail
-
getConnectionFactory
public com.rabbitmq.client.ConnectionFactory getConnectionFactory()
-
loadListOfConfigured
public <T extends Configurable> List<T> loadListOfConfigured(String property)
-
loadConfigured
public <T extends Configurable> Optional<T> loadConfigured(String property)
-
loadConfiguredOrThrow
public <T extends Configurable> T loadConfiguredOrThrow(String property)
-
-