question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

netty-codec-stomp server and client for stomp.js example

See original GitHub issue

Expected behavior

Actual behavior

Steps to reproduce

server: stomp codec ChannelPipeline pipeline = ch.pipeline(); pipeline.addLast(“decoder”, new StompSubframeDecoder()); pipeline.addLast(“encoder”, new StompSubframeEncoder()); pipeline.addLast(“aggregator”, new StompSubframeAggregator(65536)); pipeline.addLast(“handler”, new StompServerHandler()); client: stomp.js,html var stompClient = Stomp.client(“ws://127.0.0.1:8083”); stompClient.connect({userName: “张三”, userId: “test1”}, function(frame) { console.error(“连接成功”); });

Minimal yet complete reproducer code (or URL to code)

stomp codec

Netty version

4.1.37

JVM version (e.g. java -version)

1.8

OS version (e.g. uname -a)

w10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
amizurovcommented, Mar 29, 2020

@amizurov PRs welcome

OK, maybe it can be useful for people who want to use STOMP and Netty on server side.

0reactions
llm163520commented, Apr 3, 2020

ok, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using STOMP JS
To create a STOMP client JavaScript object, you need to call Stomp.client(url) with the URL corresponding to the server's WebSocket endpoint:
Read more >
Stomp JS in 5 minutes. What is STOMP ? | by Debanjana Maitra
To create a STOMP client JavaScript object, you need to call Stomp.client(url) with the URL corresponding to the server's WebSocket endpoint.
Read more >
STOMP Over WebSocket
Create a STOMP client. In a Web browser with regular Web Socket. STOMP JavaScript clients will communicate to a STOMP server using a...
Read more >
Using Spring Boot for WebSocket Implementation with STOMP
The server-side will be coded purely in Java. But, in the case of the client, I will show snippets written both in Java...
Read more >
Using WebSocket to build an interactive web application
In this guide, we use STOMP messaging with Spring to create an ... In response, the server will push a greeting into a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found