1.0.0 • Published 1 year ago

@amplication/plugin-broker-rabbitmq v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

@amplication/plugin-broker-rabbitmq

NPM Downloads

Implement RabbitMQ as the message broker in your Amplication's generated services.

Purpose

This plugin generates the relevant code to provide you with end-to-end integration for a RabbitMQ message broker in a Pub/Sub mode compatible with amplication Message Broker.

It generates the following parts:

  • A topics list as a selectable enum.

  • RabbitMQ module and service that contains an emit function to send messages to a RabbitMQ queue.

  • RabbitMQ controller with an endpoint listener for each topic connected to the service, and their type is “receive."

  • A RabbitMQ options getter function that extracts all the relevant variables from the nestjs common ConfigService (by default if would load the available environment variables)

Usage

This plugin provides you with a ready configured NestJS module that you can use in your service. To customize the client options update the .env file with the relevant options.

1.0.0

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago

2.0.0

2 years ago