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> Optional<io.atleon.core.AloDecorator<RabbitMQMessage<T>>>loadAloDecorator(String descriptorsProperty)<T extends io.atleon.util.Configurable>
TloadConfiguredOrThrow(String property)
-
-
-
Method Detail
-
getConnectionFactory
public com.rabbitmq.client.ConnectionFactory getConnectionFactory()
-
loadAloDecorator
public <T> Optional<io.atleon.core.AloDecorator<RabbitMQMessage<T>>> loadAloDecorator(String descriptorsProperty)
-
loadConfiguredOrThrow
public <T extends io.atleon.util.Configurable> T loadConfiguredOrThrow(String property)
-
-