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

Abstract client/channel/consumer #666

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Abstract client/channel/consumer #666

wants to merge 7 commits into from

Conversation

spuun
Copy link
Member

@spuun spuun commented Apr 25, 2024

WHAT is this pull request doing?

This will abstract Client/Channel/Consumer so we can implement different types of these entities. The current implementations of each entitiy is moved to the LavinMQ::AMQP namespace.

This abstraction should enable us to implement other protocols.

HOW can this pull request be tested?

Run specs

@spuun
Copy link
Member Author

spuun commented Apr 25, 2024

I also refactored Reporter since it access instance variables. I'll probably break this out to a PR to this PR.

@spuun
Copy link
Member Author

spuun commented Apr 25, 2024

I think i'd like to move src/lavinmq/client/amqp/* to src/lavinmq/amqp/* and also include the queue implementations here since they are tied to AMQP::Consumers, so make LavinMQ::AMQP::Queue and LavinMQ::AMQP::StreamQueue and such... Not sure yet.

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

Successfully merging this pull request may close these issues.

None yet

1 participant