--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| Channel | Consumer tag | Ack required | Exclusive | Prefetch count | Arguments |
|---|---|---|---|---|---|
| 127.0.0.1:46807 (13) | amq.ctag-G5zjUfxh7Xj-eVy67lUBfw | ● | ○ | 500 |
| Ready | 0 |
|---|---|
| Unacked | 5 |
| Total | 5 |
Automatic recovery kicks in when the client loses the connection to the server. Any un-acked message becomes available again for consumption.What do you mean by "restarting"? Do you restart the client process? If so, it's not necessary when automatic recovery is on.Please provide more information (e.g. the client you're using), code samples, and a more detailed description of what you're exactly doing/trying to test. We can't really help with so little information.
On Mon, Mar 6, 2017 at 4:08 PM, Mar <mar....@gmail.com> wrote:
Hello,I'd like to know how to reconnect automatically a consumer after a restart of rabbitMq service.( recovering)If I set automaticRecoveryEnabled=false in my connectionFactory in my program, any consumer will be connected after restarting. OKIf I set automaticRecoveryEnabled=true, after restarting the old consumer appears as connected (same consumer tag) and anew consumer is created, when a message arrives the old consumer takes the message and the message remains unacked, and it is blocked!Did I forget anything in the configuration?RabbitMQ 3.6.1, Erlang R16B03-1ThanksRegards,Mar
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.