postwait / node-amqp

[UNMAINTAINED] node-amqp is an AMQP client for nodejs
MIT License
1.7k stars 357 forks source link

publishing message #442

Open gitstn opened 7 years ago

gitstn commented 7 years ago

Sorry folks using issue tracker for a request because cannot find a mailing list.

Using the code I am able to subscribe to queue and receive messages, but cannot seem to find a way to publish. All I want to be able to do is to publish to a default exchange using routing key. Using bot connection.publish or exchange.publish I get exchange as undefined. Missing something fundamental. Can someone please provide a publishing example.