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

Websockets support #362

Merged
merged 10 commits into from
Aug 9, 2018
Merged

Conversation

SreeramGarlapati
Copy link
Contributor

@SreeramGarlapati SreeramGarlapati commented Aug 9, 2018

  1. Supports max_frame_size of 4k (current limitation of qpid-proton-j-extensions library)

  2. doesn't support PROXY on websockets - this will follow.

Amqp over WebSockets is particularly used when enterprise policies (ex: firewall outbound port rules) doesn't allow traffic on the default Amqp secure port (5671).
To send or receive over websockets - which uses port 443, set the TransportType on ConnectionStringBuilder, like this:

connectionStringBuilder.setTransportType(TransportType.AmqpWebSockets)

related: #264
cc: @ShubhaVijayasarathy, @sabeegrewal, @timtay-microsoft, @tameraw, @binzywu, @yvgopal, @nemakam

@SreeramGarlapati SreeramGarlapati merged commit efb965d into Azure:dev Aug 9, 2018
SreeramGarlapati added a commit that referenced this pull request Aug 31, 2018
#375)

* websocket support (#362)
* fix an issue with ExceptionContract - when request-response channel closes with transient error (#372)
* include PartitionReceiver and PartitionSender creation to participate in RetryPolicy (#373)
Jgomez13 pushed a commit that referenced this pull request May 17, 2024
1. Supports max_frame_size of 4k (current limitation of <a href="https://github.com/Azure/qpid-proton-j-extensions">qpid-proton-j-extensions</a> library)

2. doesn't support PROXY on websockets - this will follow.

Amqp over WebSockets is particularly used when enterprise policies (ex: firewall outbound port rules) doesn't allow traffic on the default Amqp secure port (`5671`).
To send or receive over websockets - which uses port `443`, set the `TransportType` on `ConnectionStringBuilder`, like this:

```
connectionStringBuilder.setTransportType(TransportType.AmqpWebSockets)
```

related: #264
Jgomez13 pushed a commit that referenced this pull request May 17, 2024
#375)

* websocket support (#362)
* fix an issue with ExceptionContract - when request-response channel closes with transient error (#372)
* include PartitionReceiver and PartitionSender creation to participate in RetryPolicy (#373)
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.

2 participants