bunny-mock
bunny-mock copied to clipboard
Need support for recent history exchange
It would be nice to use the recent history exchange or custom exchanges in general with BunnyMock.
Maybe I can add some more callbacks to the exchanges to allow for custom exchange types. If an exchange received deliver
(which it does now) and some sort of on_bind
callback, you would be able to implement a recent history exchange right?
That would be nice, thanks :+1:
How do you declare the recent history exchange in your bunny code btw?
Like this
channel.exchange_declare('ex_min_parsing_version', 'x-recent-history', 'x-recent-history-length' => 1)
Ok I'll look at the relevant bunny code to see if we can hook into that for custom exchanges
Hi, are there any updates?