MessageQueueFactory

Creates IMessageQueue components based on their descriptors.

Inherits: Factory, IMessageQueueFactory, IConfigurable, IReferenceable

Description

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

Fields

_config

Configuration paramters

protected _config: ConfigParams

_references

References used to locate the component dependencies

protected _references: IReferences

Abstract methods

CreateQueue

Creates a message queue component and assigns its name.

public abstract IMessageQueue CreateQueue(string name)

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

Instance methods

Configure

Configures the component by passing its configuration parameters.

public virtual void Configure(ConfigParams config)

  • config: ConfigParams - configuration parameters to be set.

SetReferences

Sets references to dependent components.

public virtual void SetReferences(IReferences references)

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

See also