MemoryMessageQueueFactory

Creates MemoryMessageQueue components based on their descriptors.

Implements: MessageQueueFactory

Description

The MemoryMessageQueueFactory class allows you to create MemoryMessageQueue components based on their descriptors.

Important points

  • The name of the created message queue is taken from its descriptor.

Constructors

Creates a new instance of the factory.

MemoryMessageQueueFactory()

Instance methods

create_queue

Creates a message queue component and assigns its name.

create_queue(name: str): IMessageQueue

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

See also