carlonicora/minimalism-service-rabbitmq

RabbitMQ service for minimalism

5.0.2 2019-05-14 00:00 UTC

README

minimalism-service-rabbitmq is a service for minimalism to send messages to rabbitMQ and retrieve them

Getting Started

To use this library, you need to have an application using minimalism. This library does not work outside this scope.

Prerequisite

You should have read the minimalism documentation and understand the concepts of services in the framework.

Installing

Require this package, with Composer, in the root directory of your project.

$ composer require carlonicora/minimalism-service-rabbitmq

or simply add the requirement in composer.json

{
    "require": {
        "carlonicora/minimalism-service-rabbitmq": "~1.0"
    }
}

Deployment

This service requires you to set up two parameters in your .env file in order to manage queue messages

Required parameters

#defines the name of the queue messages are sent to or retrieved from 
MINIMALISM_SERVICE_RABBITMQ_QUEUE_NAME=

#defines the connection ot rabbitMQ
MINIMALISM_SERVICE_RABBITMQ=host,port,user,password

Build With

Versioning

This project use Semantiv Versioning for its tags.

Authors

License

This project is licensed under the MIT license - see the LICENSE.md file for details

License: MIT