All Questions
Tagged with spring-websocket activemq-classic
22
questions
0
votes
2
answers
3k
views
ReactJS: STOMP subscription to multiple topics
My React code creates a WebSocket connection to our company's ActiveMQ 5.15.5 server, and then subscribes to the following two topics: salary and decoding. The problem is that the code is only able to ...
1
vote
1
answer
458
views
Spring websocket/broker fail over
I have the following design:
Machine1
WebsocketApp
ActiveMQ broker
Machine2
WebsocketApp
ActiveMQ broker
Machine3
WebsocketApp
ActiveMQ broker
Machine4
WebsocketApp
ActiveMQ broker
The ...
0
votes
1
answer
257
views
Spring Messaging/ActiveMQ Acknowledged Message not received
I have been working on this issue for a while now and decided to ask for some help.
I have the following scenario. ActiveMQ server listening on port 61614. Two WebSocketStompClient's are connecting ...
2
votes
1
answer
3k
views
Using Amazon MQ as a broker relay for Spring Websockets + STOMP
Is it possible to use Amazon MQ as external broker for Spring + Websockets + STOMP? I'm trying with no luck. My config is as follows:
@Configuration
@EnableWebSocketMessageBroker
@AllArgsConstructor
...
0
votes
1
answer
981
views
Spring Websocket (ActiveMQ): Stomp subscribe and get messages enqueued from a Topic
I am working with Spring WebSocket and Stomp.
Note: the broker is ActiveMQ
I have two @Schedule methods that sends messages to Queue and Topic respectively
For a subscription for a Queue, the code ...
0
votes
1
answer
241
views
Routing subscriptions in Spring Websocket STOMP with ActiveMQ
I have configured Spring STOMP with ActiveMQ, it works fine.
But, is there any chance to make client's subscription routing?
@Override
public void configureMessageBroker(MessageBrokerRegistry ...
0
votes
1
answer
871
views
Websocket with ActiveMQ support multi session?
I have spring boot application use websocket and embeded ActiveMQ, when user (TestUser) subscribe /user/TestUser/reply in two different browser at the same time ,then send message to him one browser ...
1
vote
1
answer
856
views
How delete Inactive destinations in ActiveMQ?
i need configure activemq to delete inactive queues :
Configuration using websocket as below
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfig extends ...
0
votes
1
answer
504
views
How can I set expiration for Queues in Activemq if user not subscribed in specific period of time?
How can I delete queues from activeMQ if user not subscribes , I have a lot of users in system so I think will be performance issue if users not deleted from activeMQ , I am using spring boot and ...
0
votes
2
answers
3k
views
How can configure activemq ex. queue time to live , or keep the message in queue until period of time or action?
I am building notification system using spring boot and websocket, I used ActiveMQ to keep Queues for offlines users, it's working perfect.
I need to edit some configuration like queue time to live, ...
1
vote
1
answer
6k
views
Spring Boot WebSocket with embedded ActiveMQ Broker
I tried to change an web application from simple broker to an embedded ActiveMq Broker with stomp using Spring boot 1.5.4 but always getting an error on start up
Caused by: java.lang....
0
votes
1
answer
1k
views
Spring websocket stomp sock js activemq durable subcription
As per the documentation of activemq we need to set the http://activemq.apache.org/stomp client-id header to have durable subscriptions.
I set the client-id in connect headers and activemq....
3
votes
0
answers
323
views
Spring websocket listen to external queue on client side using SockJs
I have an application that is using spring-websockets and here is the use case
1) User sends a normal HTTP request to the controller(server)
2) The server takes the request and converts it into a ...
0
votes
1
answer
764
views
Spring websocket with STOMP, SOCKJS and ACTIVEMQ
We are integrating spring web sockets into our application and I ran the hello world example and it is amazing that spring wires up everything for us to push server side notifications to the client ...
2
votes
0
answers
2k
views
Struggling with Spring WebSocket + ActiveMQ (Relay Broker) + Connection gets closed even with heartbeat
I've been struggling to increase the inactivity timeout on Activemq (changing settings in activemq.xml don't seem to work). I see the heartbeats being exchanged in the browser console (SockJS client) ...