Add support for STOMP in SpringWolf
See original GitHub issue- For users of the
Spring
ecosystem, the dependency oforg.springframework.boot:spring-boot-starter-websocket
is usually used to provideSTOMP
andsock.js
protocol encapsulation forWebsocket
.STOMP
is a sub-protocol ofwebsocket
, and the behavior and paradigm ofSTOMP
are defined at https://www.asyncapi.com/docs/specifications/v2.4.0 . I hope there will be a corresponding treatment inSpringWolf
. - A simple demo is at https://github.com/spring-tips/controllers/tree/main/websockets , which helps to locate the actual model binding scenario.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
STOMP Support - Spring
STOMP Support. Spring Integration version 4.2 introduced STOMP (Simple Text Orientated Messaging Protocol) client support. It is based on the architecture, ...
Read more >Manually setting up Spring WebSocket STOMP support
I'm trying to set up a STOMP WS endpoint using spring-websocket and spring-messaging. I am trying to do this manually: no application ...
Read more >Support STOMP receipts with the simple broker [SPR-17315]
spencercw opened SPR-17315 and commented I'm trying to set up a project using WebSockets with the 'subscribe and snapshot' pattern (i.e., ...
Read more >Using Spring Boot for WebSocket Implementation with STOMP
One of them, supported by the Spring Framework, is STOMP. STOMP is a simple text-based messaging ... First, we need to add the...
Read more >WebSockets With Spring, Part 3: STOMP Over WebSocket
Messages from and to STOMP clients can be handled by a message broker: a simple STOMP broker (which only supports a subset of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
After a free Afternoon and as I want a way to document my own project’s
STOMP
Server, here are my notes on trying to get this to work.I don’t believe this feature is possible right now, as Springwolf uses the 1.0.0
bindings
for its internals. This results in thebuildOperationBinding
method for theAbstractChannelScanner
being unusable, as there is noSTOMPOperationBinding
declared in AsyncAPI’s Repository.There is also talk about deprecating the
bindings
Repository set to happen soon meaning that this issue likely can’t be resolved until that decision is made, and the properSTOMPOperationBinding
definition created.As for similarity, I think the implementation
amqp
might close? You’d be replacingRabbitListener
withMessageMapping
, the only nuisance isSendTo
andSendToUser
aren’t properties of that Annotation, but that doesn’t look to be to hard to account for.@Crain-32 I fixed the invite link, it should work now. @linghengqian I also agree about moving this to #24 - I will close this issue, and provide a list of tasks that we need to complete to implement this feature.