Package io.atleon.rabbitmq
Class RabbitMQConfigSource
- java.lang.Object
-
- io.atleon.core.ConfigProvider<reactor.core.publisher.Mono<T>,S>
-
- io.atleon.core.ConfigSource<RabbitMQConfig,RabbitMQConfigSource>
-
- io.atleon.rabbitmq.RabbitMQConfigSource
-
public class RabbitMQConfigSource extends io.atleon.core.ConfigSource<RabbitMQConfig,RabbitMQConfigSource>
-
-
Field Summary
Fields Modifier and Type Field Description static StringDISABLED_CONFIGstatic StringHOST_PROPERTYstatic StringPASSWORD_PROPERTYstatic StringPORT_PROPERTYstatic StringSSL_PROPERTYstatic StringUSERNAME_PROPERTYstatic StringVIRTUAL_HOST_PROPERTY
-
Constructor Summary
Constructors Modifier Constructor Description protectedRabbitMQConfigSource()protectedRabbitMQConfigSource(String name)protectedRabbitMQConfigSource(Function<Map<String,Object>,Optional<String>> propertiesToName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RabbitMQConfigSourceinitializeSourceCopy()static RabbitMQConfigSourcenamed(String name)protected RabbitMQConfigpostProcessProperties(Map<String,Object> properties)protected voidvalidateAddressProperties(Map<String,Object> properties)protected voidvalidateProperties(Map<String,Object> properties)-
Methods inherited from class io.atleon.core.ConfigSource
applyProcessors, create, initializeProviderCopy, loadProcessors, setPropertiesToName
-
-
-
-
Field Detail
-
HOST_PROPERTY
public static final String HOST_PROPERTY
- See Also:
- Constant Field Values
-
PORT_PROPERTY
public static final String PORT_PROPERTY
- See Also:
- Constant Field Values
-
VIRTUAL_HOST_PROPERTY
public static final String VIRTUAL_HOST_PROPERTY
- See Also:
- Constant Field Values
-
USERNAME_PROPERTY
public static final String USERNAME_PROPERTY
- See Also:
- Constant Field Values
-
PASSWORD_PROPERTY
public static final String PASSWORD_PROPERTY
- See Also:
- Constant Field Values
-
SSL_PROPERTY
public static final String SSL_PROPERTY
- See Also:
- Constant Field Values
-
DISABLED_CONFIG
public static final String DISABLED_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
named
public static RabbitMQConfigSource named(String name)
-
initializeSourceCopy
protected RabbitMQConfigSource initializeSourceCopy()
- Specified by:
initializeSourceCopyin classio.atleon.core.ConfigSource<RabbitMQConfig,RabbitMQConfigSource>
-
validateProperties
protected void validateProperties(Map<String,Object> properties)
- Specified by:
validatePropertiesin classio.atleon.core.ConfigSource<RabbitMQConfig,RabbitMQConfigSource>
-
postProcessProperties
protected RabbitMQConfig postProcessProperties(Map<String,Object> properties)
- Specified by:
postProcessPropertiesin classio.atleon.core.ConfigSource<RabbitMQConfig,RabbitMQConfigSource>
-
-