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
I'm experiencing trouble with processing items that are "ready" in the rabbitmq queue, when my worker reconnects, is this expected behavior or a bug? A bit more detailed:
I'm currently testing wascally out where i have a "producer" that puts an amount of messages onto the queues, and then the worker will be started later, however, the worker does not process the "ready messages". The one thing I have noticed is that all the "ready" messages goes into "unacked" state on the queue, however, I see no messages being processed in the worker node.
The only way to make it work, is to publish a message while the worker is connected.
Rabbit.configure(Que.Config)
.then(setUpRabbitHandlers);
function setUpRabbitHandlers() {
console.info('Setting up rabbit handlers...');
Rabbit.handle("queue1", function (msg) {
console.info('Starting processing of message...');
// do stuff
msg.ack();
});
On OSX 10.10.2 with node v0.10.33 and RabbitMQ 3.4.2
The text was updated successfully, but these errors were encountered:
I'm experiencing trouble with processing items that are "ready" in the rabbitmq queue, when my worker reconnects, is this expected behavior or a bug? A bit more detailed:
I'm currently testing wascally out where i have a "producer" that puts an amount of messages onto the queues, and then the worker will be started later, however, the worker does not process the "ready messages". The one thing I have noticed is that all the "ready" messages goes into "unacked" state on the queue, however, I see no messages being processed in the worker node.
The only way to make it work, is to publish a message while the worker is connected.
Topology json:
And the handler (simplified):
On OSX 10.10.2 with node v0.10.33 and RabbitMQ 3.4.2
The text was updated successfully, but these errors were encountered: