prtnv commented on a change in pull request #7022:
URL: https://github.com/apache/camel/pull/7022#discussion_r812747475
##########
File path:
components/camel-vertx/camel-vertx-websocket/src/test/java/org/apache/camel/component/vertx/websocket/VertxWebsocketTest.java
##########
@@ -163,6 +163,9 @@ public void testSendWithMultipleConnectionKeys() throws
Exception {
@Test
public void testSendToAll() throws Exception {
+ MockEndpoint mockEndpoint = getMockEndpoint("mock:result");
+ mockEndpoint.expectedMessageCount(0);
Review comment:
In addition to sending a message to all connected peers,
VertxWebsocketProducer establishes an outgoing connection and also sends a
message there. In this case, this outgoing connection was established to the
local server. As a result, the message arrived to the mock endpoint. Is this
correct behaviour?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]