MqttMessageQueueFactory

Creates MqttMessageQueue components by their descriptors.

Implements: MessageQueueFactory

Description

The MqttMessageQueueFactory class allows you to create MqttMessageQueue components by their descriptors.

Important points

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

Constructors

NewMqttMessageQueueFactory

Creates a new instance of the factory.

NewMqttMessageQueueFactory() *MqttMessageQueueFactory

Methods

CreateQueue

Creates a message queue component and assigns its name.

(c *MqttMessageQueueFactory) CreateQueue(name string) IMessageQueue

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

See also