Methods Summary | ||
---|---|---|
public
|
#
__construct( SAREhub\Commons\Secret\SecretValueProvider $secretValueProvider , $envVarPrefix = 'AMQP_', array $envSchema = array ( ) )
|
|
public
|
Methods inherited from SAREhub\Commons\Misc\InvokableProvider |
---|
__invoke()
|
Constants Summary | ||
---|---|---|
public
string
|
ENV_HOST
|
#
'HOST'
|
public
string
|
ENV_PORT
|
#
'PORT'
|
public
string
|
ENV_VHOST
|
#
'VHOST'
|
public
string
|
ENV_USER
|
#
'USER'
|
public
string
|
ENV_PASSWORD_SECRET
|
#
'PASSWORD_SECRET'
|
public
string
|
ENV_SSL_ENABLED
|
#
'SSL_ENABLED'
|
public
string
|
ENV_SSL_VERIFY_PEER
|
#
'SSL_VERIFY_PEER'
|
public
string
|
ENV_SSL_VERIFY_PEER_NAME
|
#
'SSL_VERIFY_PEER_NAME'
|
public
string
|
ENV_CONNECTION_TIMEOUT
|
#
'CONNECTION_TIMEOUT'
|
public
string
|
ENV_READ_WRITE_TIMEOUT
|
#
'READ_WRITE_TIMEOUT'
|
public
string
|
ENV_KEEPALIVE
|
#
'KEEPALIVE'
|
public
string
|
ENV_HEARTBEAT
|
#
'HEARTBEAT'
|
public
array
|
ENV_SCHEMA
|
#
array (
'HOST' => '',
'PORT' => 5671,
'VHOST' => '',
'USER' => '',
'PASSWORD_SECRET' => '',
'SSL_ENABLED' => true,
'SSL_VERIFY_PEER' => false,
'SSL_VERIFY_PEER_NAME' => false,
'CONNECTION_TIMEOUT' => 3,
'READ_WRITE_TIMEOUT' => 61,
'KEEPALIVE' => false,
'HEARTBEAT' => 30,
)
|
public
string
|
DEFAULT_ENV_VAR_PREFIX
|
#
'AMQP_'
|