Raphael do Vale
Raphael do Vale

Reputation: 961

.Net StompClient through websockets

We have an (Java) Spring Application that uses Stomp and websockets with our browser client application. It uses basic authentication to validate use and password.

We also have an C# application that comunicates with the same server (SOAP) and now we are trying to show some realtime data for those client too. Is there a way to connect a C# application though websockets and stomp?

The spring is a relay for a ActiveMQ broker inside our server, but it could have some business rules. Also, I do not think it is a good idea put our broker opened for the internet.

Upvotes: 2

Views: 8753

Answers (2)

Zuppa
Zuppa

Reputation: 11

If you still need a library to implement STOMP over websocket client side i suggest you this: https://github.com/huhuhong/websocket-csharp-net-stomp-client

Upvotes: 0

Tim Bish
Tim Bish

Reputation: 18376

The ActiveMQ WebSocket transport supports STOMP, MQTT and AMQP 1.0 so if you use a .NET client library that can handle STOMP and WebSockets then all you need to do is ensure that your broker has the WebSocket transport configured in.

Upvotes: -5

Related Questions