Fixes to RabbitMQ filter and consumer.

This commit is contained in:
Markus Makela
2015-01-30 18:03:20 +02:00
parent 5d6b805d6e
commit ab6418c939
6 changed files with 15 additions and 16 deletions

View File

@ -1,6 +1,8 @@
if(BUILD_RABBITMQ)
find_package(RabbitMQ)
include_directories(${RABBITMQ_HEADERS})
add_library(mqfilter SHARED mqfilter.c)
target_link_libraries(mqfilter query_classifier log_manager utils rabbitmq)
target_link_libraries(mqfilter query_classifier log_manager utils ${RABBITMQ_LIBRARIES})
install(TARGETS mqfilter DESTINATION modules)
endif()

View File

@ -36,7 +36,7 @@
*
* logging_trigger Set the logging level
* logging_strict Sets whether to trigger when any of the parameters match or only if all parameters match
* logging_log_all Log only SELECT, UPDATE, DELETE and INSERT or all posddible queries
* logging_log_all Log only SELECT, UPDATE, DELETE and INSERT or all possible queries
* hostname The server hostname where the messages are sent
* port Port to send the messages to
* username Server login username