Publish/Send retry guidelines

115 views
Skip to first unread message

Vitaly

unread,
Apr 29, 2019, 5:23:07 PM4/29/19
to masstransit-discuss
Hi all!

We have RabbitMQ cluster of 3 nodes and an Http endpoint which sends messages to the bus (ISendEnpoint.Send())

One node went down and MessageNotConfirmedException: rabbitmq://cluster:5671/prd/commands => The message was not confirmed: Connection Disposed was thrown by RabbitMqTransport.ModelContext.BasicPublishAsync

As I understand it takes some time until RMQ / MassTransit realizes that connection was lost and till and will reconnect to the next node in cluster. 

What will happen to messages published during the failover?
Should I retry on this exception ? 

Are there any guidelines on when Send and Publish operations should be retried? 


Thanks in advance

Vitaly

unread,
May 21, 2019, 6:25:15 PM5/21/19
to masstransit-discuss
Hi guys,

Is there a way to tell MassTransit to retry on send failure? Is it possible to modify send pipeline? 

Thanks
Reply all
Reply to author
Forward
0 new messages