From bb5b30716f9c307c47f2660e67cfebf1434a0da1 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Thu, 7 May 2009 13:25:34 +0100 Subject: Use amq.direct instead of the default exchange --- examples/amqp_consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/amqp_consumer.c') diff --git a/examples/amqp_consumer.c b/examples/amqp_consumer.c index 3b347f5..2ce6707 100644 --- a/examples/amqp_consumer.c +++ b/examples/amqp_consumer.c @@ -97,7 +97,7 @@ int main(int argc, char const * const *argv) { hostname = argv[1]; port = atoi(argv[2]); - exchange = ""; //argv[3]; + exchange = "amq.direct"; //argv[3]; bindingkey = "test queue"; //argv[4]; conn = amqp_new_connection(); -- cgit v1.2.1