gdaws / stompit

STOMP client library for node.js
MIT License
163 stars 36 forks source link

Cannot send any message when applying the heavy load in sequential in for loop #112

Open ahhelmy opened 3 years ago

ahhelmy commented 3 years ago

When try to test the stompit with heavy load for example send 100000 message sequential in for loop, producer cannot send any message into the QC. and in case we try to send them sequential but apply setInterval although we decrease interval time to 5 milliseconds, It works normally and AMQ can receive the messages. I'm implement producer as failover example here: https://github.com/gdaws/stompit/blob/master/examples/pubsub.js