Code

amqp plugin: Add a debug message.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 6 Aug 2010 11:54:34 +0000 (13:54 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 6 Aug 2010 11:54:34 +0000 (13:54 +0200)
src/amqp.c

index c136c00de94848238343228573657be9621d7181..07a800bdf6c82f17568ba384a61f033b831caf24 100644 (file)
@@ -299,6 +299,9 @@ static int camqp_setup_queue (camqp_config_t *conf) /* {{{ */
             camqp_close_connection (conf);
             return (-1);
         }
+
+        DEBUG ("amqp plugin: Successfully bound queue \"%s\" to exchange \"%s\".",
+                conf->queue, conf->exchange);
     } /* if (conf->exchange != NULL) */
 
     cm_ret = amqp_basic_consume (conf->connection,