benner-sistemas / messaging

A lightweight .NET standard messaging library for easily deal with any message broker, like RabbitMQ, ActiveMQ, AmazonSQS, AzureQueue, ...

Home Page:https://dev.benner.com.br/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ActiveMQTransport StartListening - Should automatically reconnect when ActiveMQ goes offline then online

houssam-hamdan opened this issue · comments

I tried hosting the same ActiveMQTransport code inside a worker service, everything works like a charm. Now trying to simulate an outage in ActiveMQ instance as follows.

1- Run the consumer.
2- Turn off the ActiveMQ instance.
3- Turn it back on.
4- Run the producer to send 1000 message.
5- The consumer is not reconnecting to ActiveMQ.

Is there a way to handle that from within the library?