1.0.13 • Published 7 years ago

event-gateway-psg v1.0.13

Weekly downloads
36
License
PSG
Repository
-
Last release
7 years ago

PRE-REQUISITES:

RabbitMQ Server should be installed and Running.

EXPLANATION:

  • The module contains a demo folder which has producer, consumer and logger apps.

  • The producer app is used to publish an event along with the data where it uses the event emitter for publishing and is listened by (event-gateway-psg index.js) which sends it to the RabbitMQ server.

  • The (event-gateway-psg index.js) is used to receive the event and create an connection with the RabbitMQ server and push the message into the appropriate queue

  • The consumer app is used to Subscribe an event and uses (event-gateway-psg index.js) to receive the event from the RabbitMQ server ,the (event-gateway-psg index.js) after receiving it emits that event to the consumer app via event emitter.

  • The logger app is used to log the published and subcribed events.

  • This package can be used for interacting with various modules through RabbitMQ server.

  • The producer, consumer and logger app is for understanding and is not part of the package.

  • The mqconfig Url should be set to the rabbitMq server Url example("amqp://localhost")

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago