BaseBrokerApiService class abstract

Inheritance

Constructors

BaseBrokerApiService({bool concurrent = false})

Properties

concurrent bool
final
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
initializeCompetingConsumer(String queueName, bool durable, String? consumerTag) Future<void>
This provides a producer-queue, competing consumer model.
initializeFanOutExchange(String exchangeName, String? consumerTag) Future<void>
This provides a consumer-queue oriented fan-out model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(String invocation, dynamic payload) Future<Map<String, dynamic>?>
When return value is non-null, a reply is sent using the reply-queue.
shutdown() Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited