MessageQueueFactory

Creates IMessageQueue components based on their descriptors.

Extends: Factory

Implements: IMessageQueueFactory, IConfigurable, IReferenceable

Description

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

Fields

_config

Configuration paramters

_config: ConfigParams?

_references

References used to locate the component dependencies

_references: IReferences?

Abstract methods

createQueue

Creates a message queue component and assigns its name.

@override

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.

@override

void configure(ConfigParams config)

  • config: ConfigParams - configuration parameters to be set.

setReferences

Sets references to dependent components.

@override

void setReferences(IReferences references)

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

See also