From e53f4d062b6b8f48f4d0b0c681a92a3ea592fd16 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Fri, 18 Mar 2016 17:32:11 +0200 Subject: [PATCH] Combined RabbitMQ consumer documentation into one The README was in another folder and was not in Markdown format. --- Filters/RabbitMQ-Consumer-Client.md | 33 ++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Filters/RabbitMQ-Consumer-Client.md b/Filters/RabbitMQ-Consumer-Client.md index 1efd39507..1571cc4ac 100644 --- a/Filters/RabbitMQ-Consumer-Client.md +++ b/Filters/RabbitMQ-Consumer-Client.md @@ -14,7 +14,38 @@ The **RabbitMQ Consumer Client** only has one command line argument. ## Installation -To install the RabbitMQ Consumer Client you ca either use the provided packages or you can compile it from source code. The source code is included as a part of the MaxScale source code and can be found in the `rabbitmq_consumer` folder. Please refer to the [README](../../rabbitmq_consumer/README) in the folder for more detailed instructions about installation and configuration. +To install the RabbitMQ Consumer Client you ca either use the provided packages or you can compile it from source code. The source code is included as a part of the MaxScale source code and can be found in the `rabbitmq_consumer` folder. + +## Building from source + +This program requires the librabbitmq and libmysqlclient libraries. + +* [librabbitmq-c] (https://github.com/alanxz/rabbitmq-c) +* [MariaDB Client Library for C 2.0 Series](https://mariadb.com/kb/en/mariadb/client-libraries/client-library-for-c/) + +Building with CMake: + +``` +cmake . +``` + +Variables to pass for CMake: + +Path to headers -DCMAKE_INCLUDE_PATH= +Path to libraries -DCMAKE_LIBRARY_PATH= +Install prefix -DCMAKE_INSTALL_PREFIX= + + +Separate multiple folders with colons, for example: +``` +path1:path2:path3 +``` + +After running CMake run `make` to build the binaries and `make package` to build RPMs. + +To build without CMake, use the provided makefile and update the +include and library directories 'in buildvars.inc' + ## Configuration