Scarlet icon indicating copy to clipboard operation
Scarlet copied to clipboard

STOMP Compatibility

Open forresthopkinsa opened this issue 7 years ago • 8 comments

The standard for websocket communication is often regarded as being STOMP. Does this / will this library have STOMP compatibility in its message layer?

forresthopkinsa avatar Jun 19 '18 17:06 forresthopkinsa

It is possible to build a STOMP over WebSocket client using Scarlet. You will need to write message adapters for the classes that represent STOMP frames.

zhxnlai avatar Jun 21 '18 21:06 zhxnlai

Cool.

forresthopkinsa avatar Jun 21 '18 23:06 forresthopkinsa

@forresthopkinsa We are working on it: https://github.com/Tinder/Scarlet/tree/0.2.x

Please check out the demo app and tests

zhxnlai avatar Nov 01 '18 00:11 zhxnlai

@forresthopkinsa We are working on it: https://github.com/Tinder/Scarlet/tree/0.2.x

Please check out the demo app and tests

I would love to test the STOMP Android Demo App. Can you point to the exact URL, please?

alfredorueda avatar May 03 '19 18:05 alfredorueda

@alfredorueda Sorry, we only have integration tests for STOMP. We don't have a demo for STOMP because we couldn't find a public STOMP server to connect to. You could checkout other demos and here for examples to use Scarlet to establish a STOMP connection

zhxnlai avatar May 03 '19 21:05 zhxnlai

I tried and failed to implement a STOMP connection because of a lack of documentation. Please add a working example and not just the tests, even if you don't connect to a real server. I will now shift to another solution/library.

spipau avatar Sep 26 '19 09:09 spipau

@zhxnlai I work(ed) on possibly the most popular Android ws/STOMP library, and I've completely ceased supporting it, telling consumers to instead use Scarlet for their websocket needs. Tinder should be far better equipped to support the huge number of people needing to use WS in their apps.

Please document your library so that those people don't try to use your carefully architected code and end up hitting a dead end.

forresthopkinsa avatar Oct 01 '19 06:10 forresthopkinsa

Can you please provide an example of how to use the Scarlet as a stomp client? I've been looking for it for a couple of months but didn't get anything useful. Now I'm using another library in the prod for this but it works not well(

morozione avatar Jul 03 '20 11:07 morozione