Closed roback closed 7 years ago
have you considered it to be the one and same method and blocking is provided as a parameter (possibly to initialize)? Similar to how Bunny works that is.
have you considered it to be the one and same method and blocking is provided as a parameter (possibly to initialize)? Similar to how Bunny works that is.
I have not. That would be more clear to the user of this gem what is happening. each_message(blocking: true)
is more intention revealing than on_each_message
.
I didn't want to duplicate all tests from
#each_message
, so I just copied the one I felt was most important (the one that makes sure it can receive a message from rabbitmq).close #29