[rabbitmq-discuss] Node.js & RabbitMQ

Josh Birdwell jbirdwell34 at gmail.com
Fri Jun 7 19:01:02 BST 2013


Hi,

How do you correctly close a connection?
Why is my exchange not being created?

var connection = amqp.createConnection({url: RABBITMQ_URL});

connection.on('ready', function(){
//console.log("Connection established");
connection.exchange('cloudrouter', {"type": "direct"}, function(exchange){
 console.log("Exchange created");
console.log("Another Message");
//exchange.publish('',"Hellow World");
 //console.log(" [x] Sent Hello World");
//amqp_hacks.safeEndConnection(connection);
});
});



-- 
Warmest Regards,

*Josh Birdwell*
STEM Advocate
Oklahoma City, Oklahoma
Mobile: (405) 388-0176
 <http://www.twitter.com/jbirdwell34> <http://www.facebook.com/rfidedgellc>
<http://www.linkedin.com/in/joshbirdwell> <http://www.rfidedge.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130607/05c97656/attachment.htm>


More information about the rabbitmq-discuss mailing list