You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if I'm doing something wrong or if there's an issue elsewhere but I noticed that if I add the connection option replyQueue: false the publish() method does not actually publish anything. As soon as the option is removed, messages start going through.
varrabbit=require('wascally');varsettings={"connection": {"user": "admin","pass": "password","server": "localhost","port": 5672,"vhost": "idio","replyQueue": false//No messages with this on. Comment out and messages get sent to queue},"exchanges": [{"name": "crud","type": "direct","durable": true,"persistent": true,"autoDelete": false}],"queues": [{"name": "ops","durable": true,"autoDelete": false}],"bindings": [{"exchange": "crud","target": "ops","keys": []}]}rabbit.configure(settings)functionsendMessage(obj){rabbit.publish('crud',{type: 'idio.message',routingKey: '',body: obj});console.log('Sent: '+obj.id)}functionsend(total){console.time('mq')for(vari=1;i<=total;i++){varobj={id: i,name: 'Hello '+i,total: total}sendMessage(obj)}}send(10)
The text was updated successfully, but these errors were encountered:
Hi,
Not sure if I'm doing something wrong or if there's an issue elsewhere but I noticed that if I add the connection option
replyQueue: false
the publish() method does not actually publish anything. As soon as the option is removed, messages start going through.The text was updated successfully, but these errors were encountered: