# TxQueuePointRegistry

A singleton class repository keep mapping of queuepoint's name or symbol --> queuepoint object instance. The registry is use to create to create a new queuepoint object and store it's reference in the repository So later can retrive anywhere in the code.

With queuepoint object you can communicate with other components on the same process or in different process / machine.

#### usages

* Create new queuepoint object and save is in the registory for later access it by other objects.

```
// create a new queuepoint object with a given name 'GITHUB:G1'
queuepoint = TxMountPointRegistry.instance.queue('GITHUB::AUTH');
```

* Get an existing queuepoint by it's name | sybmol.

```
// create a new mountpoint object with a given name 'GITHUB:G1'
queuepoint = TxQueuePointRegistry.instance.get('GITHUB::AUTH');
```
