RabbitMQConnectionResolver class Null safety
RabbitMQConnectionResolver helper class that resolves RabbitMQ connection and credential parameters, validates them and generates connection options. Configuration parameters:
connection(s)
:discovery_key
: (optional) a key to retrieve the connection from IDiscoveryhost
: host name or IP addressport
: port numberuri
: resource URI or connection string with all parameters in it
credential(s)
:store_key
: (optional) a key to retrieve the credentials from ICredentialStoreusername
: user namepassword
: user password References:
- :discovery::*:1.0 (optional) IDiscovery services to resolve connections
- :credential-store::*:1.0 (optional) Credential stores to resolve credentials ICredentialStore
- Implemented types
Constructors
Properties
- connectionResolver ↔ ConnectionResolver
-
read / write
- credentialResolver ↔ CredentialResolver
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
compose(
String? correlationId, ConnectionParams? connection, CredentialParams? credential) → Future< ConfigParams> - Compose method are composes RabbitMQ connection options from connection and credential parameters. Parameters:
-
configure(
ConfigParams config) → void -
Configure are configures component by passing configuration parameters.
Parameters:
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
resolve(
String? correlationId) → Future< ConfigParams> - Resolves RabbitMQ connection options from connection and credential parameters. Parameters:
-
setReferences(
IReferences references) → void -
SetReferences are sets references to dependent components.
Parameters:
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited