AmqpBrokerService class
Implements BrokerService as an AMQP client.
Configuration values:
host
: Broker connection host
port
: Broker connection port (optional, default 5672)
user
: Username for authentication at broker
password
: Password for authentication at broker
heartbeatPeriod
: Milliseconds between heartbeats (optional, default 5000)
- Inheritance
-
- Object
- BaseService
- BrokerService
- AmqpBrokerService
Constructors
- AmqpBrokerService([String? path])
Properties
- configPath → ConfigPath?
-
finalinherited
- environment → Environment
-
Fetch the environment configuration from ConfigService.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
config<
T> (String path) → T -
Fetches a configuration value from ConfigService.
inherited
-
configObject<
T extends TransferObjectBase> (String path, TransferBean< T> bean) → T -
Fetches a configuration value from ConfigService and parse it into the
TransferObject.
inherited
-
initialize(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openChannel(
) → Future< Channel> -
override
-
shutdown(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited