MessageQueueFactory

Creates IMessageQueue components based on their descriptors.

Implements: Factory, IMessageQueueFactory, IConfigurable, IReferenceable

Description

The MessageQueueFactory class allows you to create IMessageQueue components based on their descriptors.

Fields

_config

Configuration paramters

_config: ConfigParams

_references

References used to locate the component dependencies

_references: IReferences

Abstract methods

create_queue

Creates a message queue component and assigns its name.

abstractmethod create_queue(name: str): IMessageQueue

  • name: str - name of the created message queue.
  • returns: IMessageQueue - message queue

Instance methods

configure

Configures the component by passing its configuration parameters.

configure(config: ConfigParams)

  • config: ConfigParams - configuration parameters to be set.

set_references

Sets references to dependent components.

set_references(references: IReferences)

  • references: IReferences - references to locate the component dependencies.

See also