MessageQueueFactory

Creates IMessageQueue components based on their descriptors.

Implements: Factory

Description

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

Constructors

InheritMessageQueueFactory

NewMessageQueueFactory method creates a new instance of the factory.

InheritMessageQueueFactory() *MessageQueueFactory

Fields

Config

Configuration paramters

Config: ConfigParams

References

References used to locate the component dependencies

References: IReferences

Methods

Configure

Configures the component by passing its configuration parameters.

(c *MessageQueueFactory) Configure(ctx context.Context, config *cconf.ConfigParams)

  • ctx: context.Context - operation context.
  • config: *cconf.ConfigParams - configuration parameters to be set.

SetReferences

Sets references to dependent components.

(c *MessageQueueFactory) SetReferences(ctx context.Context, references cref.IReferences)

  • ctx: context.Context - operation context.
  • references: cref.IReferences - references to locate the component dependencies.

See also