270 questions
0 votes
0 answers
26 views
STOMP and internationalization (I18N)
I am using the STOMP websocket protocol with a Spring Boot backend and an Angular/RxStomp frontend. Clients can subscribe to a channel like /topics/jobs/123 to receive notifications/events about job #...
1 vote
0 answers
80 views
How to disconnect a Stomp Session from Spring EventListener?
I have a EventListener that gets connect requests of a Stomp Spring Server. @Component public class WebSocketEventListener { @EventListener public void handleWebSocketConnectListener(...
0 votes
0 answers
104 views
How do I subscribe to a user's destination in Spring Messaging WebSockets?
Trying to follow the documentation I would like to send a message to the user's destination and subscribe to it from a browser. The full demo is available here but basically I have @MessageMapping(&...
0 votes
1 answer
93 views
How do I call a secure web socket using Stomp and Spring-Messaging from Postman?
I have the following demo app this includes a JWTDecoder I can add to fake real auth @Configuration @Profile("fake-jwt") class FakeJwtConfig { @Bean fun jwtDecoder(): JwtDecoder { ...
0 votes
0 answers
39 views
Spring StreamBridge and CloudEvents adding non-Avro complaint headers
I am trying to use StreamBridge to publish messages to GCP pubsub in CloudEvents format and use Avro for schema validation. Here is the message building snippet Message<Person> ce = ...
0 votes
1 answer
107 views
WebSocketMessageBroker is not working as expected after upgrade to Spring Boot 3.3.5
I have an application that exposes WebSocket endpoint with following config @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { ...
0 votes
0 answers
82 views
Spring message not recognised correctly in other languages except English
In cds-messages.properties we have defined the message 409003=''{0}'' is a required field (*). For the same in error-messages-label-mapping.properties file we have defined the variable names name=...
1 vote
2 answers
155 views
Is it possible to serialise a websocket connection to an external system like redis cache, and later pick up by an another pod and deserialise connect
We have a design where the front end connects to backend nodes by Websockets. Consider an example where Frontend node 1 (connects websocket) -----> server node1 Then server node1 cache the session ...
0 votes
0 answers
182 views
Subscribers don't reconnect to the subscription when there is no traffic #2599
I am using StreamingPull mechanism to receive messages from the Pub/Sub. Here is only 2 overriding for default SubscriberFactory settings: @Bean public SubscriberFactory subscriberFactory( ...
1 vote
1 answer
956 views
My subscriber receive a message from GCP subscription with exactly 60 seconds delay sometimes
I have an issue which happends periodically in my system, but causes major problems. We use GCP Pub/Sub and sometimes subscriber receives a message with exactly 1 minute delay. In these cases only the ...
0 votes
1 answer
163 views
How to consume null payloads with spring-pulsar from Apache Pulsar topic?
Consider the code for consuming messages from Apache Pulsar that is set up with spring-pulsar: @PulsarListener( subscriptionName = "hello-pulsar-sub-2", topics = "#{...
0 votes
1 answer
179 views
JmsListener listen generic container object
I'm doing an event based system which consists of multiple services that communicate via kind of domain events. All services are on spring boot 3.1.3 and send messages via activemq artemis. I've got ...
-1 votes
1 answer
85 views
English to Spanish translation not working in JSP file
I am using this code to read property <div class="form-group"> <label for="training" class="form-check-label mt-30"> ...
3 votes
2 answers
3k views
Cannot resolve symbol 'QueueMessagingTemplate'
I'm currently working on library using spring boot 2.7. In the process of migrating to spring boot 3.1.4 I got an error on a class where: import org.springframework.cloud.aws.messaging.core....
0 votes
1 answer
870 views
How to use @SqsListener with multiple object types?
I am trying to migrate some application code from Spring Boot with rabbitmq to Spring Boot with SQS. I'd like my application to listen to a queue, but handle multiple object types, like this: @...