Skip to main content

All Questions

0 votes
0 answers
35 views

WebSocket cluster+Rabbitmq dynamic queue

I have a service that uses Spring WebSocket, and the client connects to my service through WebSocket. At this point, my service needs to implement cluster deployment because WebSocket sessions cannot ...
Looveh's user avatar
  • 1
0 votes
1 answer
620 views

Spring Boot Rabbitmq AMQP & WebSocket NULL pointer exception

I'm trying to send a message with a Rabbitmq in WebSocketHandler, right after the user's connection establishes. The problem is, that the Rabbitmq producer bean is null. Calling a producer from the ...
aleks Koptev's user avatar
1 vote
0 answers
253 views

Custom spring websocket security with rabbitmq

I'm working with websocket to push notification using rabbitmq like a message broker. In controller i using SimpMessageTemplate to convertAndSendToUser a message via the nick name of user @PostMapping(...
NTNT O'Klein's user avatar
1 vote
1 answer
297 views

Direct user message doesn't work with Spring Websocket

I am trying send direct messages to user. Application hasn't done authentication so there is temporary solution for creating websocket session users as you can see in added code. @Configuration @...
Denis Stephanov's user avatar
1 vote
1 answer
987 views

How to get initial data using Spring RabbitMQ and websockets

we are using in our application websockets with combination RabbitMQ and I need solve following use-case: User sing in into JS application, and application starts subscribing websocket topic for new ...
Denis Stephanov's user avatar
0 votes
1 answer
3k views

How to handle spring boot stomp websocket subscribe endpoint to authorize users

We have successfully developed webosocket+stomp+rabbitmq for our project with security. It is working fine although we have some problems in solving the following case: The workflow of this ...
Aliy's user avatar
  • 406
0 votes
1 answer
50 views

The message consumer component of the system processes each message and notifies asynchronously using WebSockets the caregiver application

I am trying to send some notifications from Consumer of the rabbitmq through a websocket and publish them on the angular application. I am new with both rabbitmq and websocket and I don't know how to ...
Saratean Timeea's user avatar
1 vote
1 answer
3k views

Spring Boot 2 + Websockets + Load balancer

We have written simple message sending mechanism to client (logged in user based) from server by using spring boot + websocket. Currently its running in a single server, which is working fine. But our ...
salz's user avatar
  • 81
-1 votes
1 answer
2k views

rabbit-mq Queue not auto-deleted after consumers zero

I set option autoDelete as true for a queue, but sometime even if consumer is 0, the queue still exist How can I find the reason? and how to delete? thanks
kumar's user avatar
  • 497
0 votes
0 answers
170 views

Test cases for SimpMessagingTemplate for rabbitmq in spring boot

I want to write test cases for SimpMessagingTemplate using rabbitmq in springboot. I have already tried to write the same using qpid-brokerhaving version mentioned below. <dependency> ...
kumar's user avatar
  • 497
0 votes
1 answer
2k views

JHipster microservice websocket send message to '/topic'

We have a JHipster microservice application with websockets. Currently, the main microservice (with frontend) is the one who send/receives messages through websockets relying on RabbitMQ as relay for ...
djeison's user avatar
  • 500
1 vote
1 answer
696 views

RabbitMQ durable queue losing messages over STOMP

I have a webpage connecting to a rabbit mq broker using javascript/websockets that are exposed by a spring app deployed in tomcat. Messages are produced 1 per second by an external application and are ...
James's user avatar
  • 1,760
0 votes
1 answer
349 views

Haproxy Sockjs Websocket loadbalancing and RabbitMQ loadbalancing in same config

I am looking for a haproxy (HAProxy version 1.5.18) configuration which will allow websocket loadbalancing as well as RabbitMQ load balancing. I have tried many options but none seem to work, below is ...
abhdeb's user avatar
  • 101
1 vote
1 answer
2k views

RabbitMQ Topic format - sub-topic under main topic

When I am trying to push to topic in this format /topic/pushing/{organizationId} I am getting an error messagingTemplate.convertAndSend("/topic/pushing/" + obj.getCustomerid(), obj); The error: ...
Amr K. Ismail's user avatar
1 vote
1 answer
1k views

Message is not sent to all active subscribers when using spring-websocket and rabbitmq-stomp

I have a web app based on spring websocket over stomp(powered by spring boot 1.5.1). And I'm using Rabbitmq(3.6.6) with stomp plug-in as full feature broker. According to the doc of stomp, the message ...
Kane's user avatar
  • 8,132

15 30 50 per page