1.0.13 • Published 8 years ago

event-gateway-psg v1.0.13

Weekly downloads
36
License
PSG
Repository
-
Last release
8 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

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago