node.js - Requeue message on timeout -


i'm using rabbitmq queue, i'm using in node.js / express app, i'm using wascally library consume , publish messages.

my scenario is, after consumer finalizes handling message requeue's message again, task being done in cycle. example message initiates task of downloading data api , after it's finished publishes same message again data download performed again.

the problem if consumer app crashes message stays in queue "unacked". should message queue if consumer not respond time (for example 30 seconds)?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -