RabbitMQMessageQueueFactory

Creates RabbitMQMessageQueue components by their descriptors.

Extends: MessageQueueFactory

Description

The RabbitMQMessageQueueFactory class allows you to create RabbitMQMessageQueue components by their descriptors. Name of created message queue is taken from its descriptor.

Constructors

Creates a new instance of the factory.

public constructor()

Instance methods

createQueue

Creates a message queue component and assigns its name.

public createQueue(name: string): IMessageQueue

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

See also