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 have Bunny code that does manual acknowledgement of messages by passing manual_ack: true into the pop method of the Queue class. This allows the message to be redelivered if the consumer class fails to completely process the message.
To make this work, my code must manually acknowledge successful completion of message processing. It does this using the Channel class's acknowledge or ack method. That method is not currently implemented in the BunnyMock::Channel class.
Is is possible to add some sort of rudimentary mocking support for message acknowledgement methods?
The text was updated successfully, but these errors were encountered:
If you have an idea of how to make this work, you can submit a PR for it. Or you could explain what needs to happen with regards to acks, nacks, and delivery tags if you have experience with them. Might improve turn around time from me trying to read through the docs :)
I have Bunny code that does manual acknowledgement of messages by passing
manual_ack: true
into thepop
method of theQueue
class. This allows the message to be redelivered if the consumer class fails to completely process the message.To make this work, my code must manually acknowledge successful completion of message processing. It does this using the
Channel
class'sacknowledge
orack
method. That method is not currently implemented in theBunnyMock::Channel
class.Is is possible to add some sort of rudimentary mocking support for message acknowledgement methods?
The text was updated successfully, but these errors were encountered: