-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)status: feedback-reminderWe've sent a reminder that we need additional information before we can continueWe've sent a reminder that we need additional information before we can continuestatus: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continue
Description
As we can see in the code snippet below, it is not possible to send TextMessage where isLast is set to false.
Lines 218 to 220 in 43ff6d9
| protected void sendTextMessage(TextMessage message) throws IOException { | |
| useSession((session, callback) -> session.sendText(message.getPayload(), callback)); | |
| } |
spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/TextMessage.java
Lines 62 to 65 in 43ff6d9
| public TextMessage(CharSequence payload, boolean isLast) { | |
| super(payload.toString(), isLast); | |
| this.bytes = null; | |
| } |
However, the API exists in Jetty, in the form of Session#sendPartialText(String, boolean, Callable). Is there any reason for not using it?
From basic testing, it seems that calling it is still not complying, but I may have made boggus changes and broken the code.
Thank you for any reply
Metadata
Metadata
Assignees
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)status: feedback-reminderWe've sent a reminder that we need additional information before we can continueWe've sent a reminder that we need additional information before we can continuestatus: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continue