I'm in the process of exploring RabbitMQ so my probIem might be very easy to some of you. Anyway, I decided to post this question after long hours of debugging my code. Basically, I have 2 problems that I noticed when I try extending DefaultConsumer.
First is that, acknowledgement is not working, message is moved back from unacknowledge to ready upon closing the channel. Second is that I'm encountering "AlreadyClosedException" when trying to close the connection. I'm wonder why this is happening even if I have checking to close only open connection. Hope to hear your comments and suggestions.
class SampleConsumer : DefaultBasicConsumer
public SampleConsumer(IModel channel) : base(channel)
This list has been deprecated in late July. We've announced that it will be
discontinued on Oct 1st in August. We are 2 weeks away from that, time to
start posting new questions to the new list, rabbitmq-users: