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

Around Connection Re-Establishment and having a REMOTE Server Endpount #833

Open
gpadbidri opened this issue Feb 7, 2023 · 1 comment
Open

Comments

@gpadbidri
Copy link

I want to go ahead with this package for my project but before that I want to clarify a few things :

What if the Server Endpoint is an AWS Websocket API Gateway Endpoint ? Will this Java Package still work with remote endpoints ? Any code sample ?

Also is there a provision of connection re-establishment ; meaning when the connection breaks after timeout; would this package re-establish the connection ? Or we have to take care of it ?

Kindly let me know that way. Thanks !

@jansupol
Copy link
Contributor

jansupol commented Feb 16, 2023

What if the Server Endpoint is an AWS Websocket API Gateway Endpoint ? Will this Java Package still work with remote endpoints?

It should. This Tyrus project implements Jakarta WebSocket Spec, which is the Java APIs for the development of WebSocket applications. WebSocket is defined by RFC 6455. If AWS Websocket API Gateway Endpoint complies with the RFC, it should all work together.

We have a good experience for instance with connection between a Web Browser implementing the WebSocket and Tyrus, I believe AWS would be tested with browsers as well, so I believe it should work fine.

when the connection breaks after timeout

Please see jakarta.websocket.Session#setMaxIdleTimeout

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