Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support for recent history exchange #21

Open
ebolloff opened this issue Sep 25, 2016 · 6 comments
Open

Need support for recent history exchange #21

ebolloff opened this issue Sep 25, 2016 · 6 comments

Comments

@ebolloff
Copy link

It would be nice to use the recent history exchange or custom exchanges in general with BunnyMock.

@arempe93
Copy link
Owner

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?

@ebolloff
Copy link
Author

That would be nice, thanks 👍

@arempe93
Copy link
Owner

How do you declare the recent history exchange in your bunny code btw?

@ebolloff
Copy link
Author

ebolloff commented Oct 4, 2016

Like this

channel.exchange_declare('ex_min_parsing_version', 'x-recent-history', 'x-recent-history-length' => 1)

@arempe93
Copy link
Owner

arempe93 commented Oct 4, 2016

Ok I'll look at the relevant bunny code to see if we can hook into that for custom exchanges

@ebolloff
Copy link
Author

ebolloff commented Nov 4, 2016

Hi, are there any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants