com.dell.cpsd.common.rabbitmq.config.IRabbitMqPropertiesConfig Maven / Gradle / Ivy
/**
* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
* Dell EMC Confidential/Proprietary Information
*/
package com.dell.cpsd.common.rabbitmq.config;
/**
* Configuration for common RabbitMQ properties.
*
* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
* Dell EMC Confidential/Proprietary Information
*
*
* @since SINCE-TBD
*/
public interface IRabbitMqPropertiesConfig
{
/**
* The Routing Key Separator for all the services [Pipe].
*/
String ROUTING_KEY_SEPARATOR = "|";
/**
* This returns the rabbit host name. The name of the property is
* remote.dell.amqp.rabbitHostname
.
*
* @return The rabbit host name.
* @since SINCE-TBD
*/
String rabbitHostname();
/**
* This returns the secondary host names. The name of the property is
* remote.dell.secondaries.amqp.rabbitHostname
.
*
* @return The secondary rabbit host names.
* @since SINCE-TBD
*/
String secondaryHostnames();
/**
* This returns the rabbit amqp port number. The name of the property is
* remote.dell.amqp.rabbitPort
.
*
* @return The rabbit port number.
* @since SINCE-TBD
*/
Integer rabbitPort();
/**
* This returns the rabbit broker password. The name of the property is
* remote.dell.amqp.rabbitPassword
.
*
* @return The rabbit broker password.
* @since SINCE-TBD
*/
String rabbitPassword();
/**
* This returns the rabbit user name. The name of the property is
* remote.dell.amqp.rabbitUsername
.
*
* @return The rabbit user name.
* @since SINCE-TBD
*/
String rabbitUsername();
/**
* This returns the rabbit virtual host name. The name of the property is
* remote.dell.amqp.rabbitVirtualHost
.
*
* @return The rabbit virtual hostname.
* @since SINCE-TBD
*/
String rabbitVirtualHost();
/**
* This returns the rabbit heartbeat interval. The name of the property is
* remote.dell.amqp.rabbitRequestedHeartbeat
.
*
* @return The rabbit heartbeat interval.
* @since SINCE-TBD
*/
Integer rabbitRequestedHeartbeat();
/**
* This returns the name of the data center. The name of the property is
* data.center
.
*
* @return The name of the data center.
* @since SINCE-TBD
*/
String dataCenter();
/**
* This returns the name of the service or application name. The name of
* the property is application.name
*
* @return The Application/Service Name
* @since SINCE-TBD
*/
String applicationName();
/**
* This returns the pass phrase of the trustStore. The name of
* the property is trustStorePassphrase
*
* @return The trustStorePassphrase
* @deprecated
*/
@Deprecated
String trustStorePassphrase();
/**
* This returns the passPhrase of the keyStore. The name of
* the property is keyStorePassPhrase
*
* @return The keyStorePassPhrase
* @deprecated
*/
@Deprecated
String keyStorePassPhrase();
/**
* This returns the path of the keyStore. The name of
* the property is keyStorePath
*
* @return The keyStorePath
* @deprecated
*/
@Deprecated
String keyStorePath();
/**
* This returns the path of the trustStore. The name of
* the property is trustStorePath
*
* @return The trustStorePath
* @deprecated
*/
@Deprecated
String trustStorePath();
/**
* This returns the version of the tls. The name of
* the property is tlsVersion
*
* @return The tlsVersion
*/
String tlsVersion();
/**
* This returns the status of SSL. The name of
* the property is isSslEnabled
*
* @return The isSslEnabled
*/
Boolean isSslEnabled();
}