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

WIP: [AMQ-9637] Add web socket connection limit. #1369

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nikita-Shupletsov
Copy link

What problems does this PR solve?
It adds maximumConnections support for WS transport.

Why is it beneficial to merge into ActiveMQ?
all other transports have this limit. being able to limit the number of connections for WS transport brings in in par with the rest of transports.

How do you make sure this PR is well tested?
I updated the existing amqp test to test amqp+ws and amqp+wss, added new tests for stomp+ws and mqtt+ws as well.

@mattrpav mattrpav changed the title [AMQ-9637] Add web socket connection limit. WIP: [AMQ-9637] Add web socket connection limit. Dec 13, 2024
@mattrpav mattrpav self-requested a review December 13, 2024 20:31
@mattrpav
Copy link
Contributor

On the surface, this looks like it might be a couple of commits-- ws socket handling clean-up and then the limit added.

TODO: Determine if this is done before or after the Jetty 12 update

@Nikita-Shupletsov
Copy link
Author

On the surface, this looks like it might be a couple of commits-- ws socket handling clean-up and then the limit added.

sounds good. I will split the PR into two

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.

3 participants