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 c136c00..07a800b 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,