Hi

I have a routebuider with the following configuration.
Only resource URI is different while port is same.
Ideally other clients connecting to newsTopic should get messages published
on this topic only but I found out that they are also getting messages
published on stockQuoteTopic.

On further investigation I found out that memory store used to by sendAll
is shared by all resource uri for a given port in the server.

Looks like this is a bug which needs to be fixed.

       from("activemq:topic:newsTopic").to("websocket://
0.0.0.0:9090/newsTopic?sendToAll=true");
       from("activemq:topic:stockQuoteTopic").to("websocket://
0.0.0.0:9090/stockQuoteTopic?sendToAll=true");


Ouput received from client.

2017-03-06 15:35:15.789:INFO::main: Logging initialized @313ms
Connected to server
Message received from server:
Message received from server:MSFT
Message received from server:CNBC News
Message received from server:BBC News



-- 
- Ravi

*[ View My Youtube Channel ] <https://www.youtube.com/c/RavindraGodbole>*

Phone: +91 *98 509 760 91*

Reply via email to