gnodet-bot commented on code in PR #30504:
URL: https://github.com/apache/camel/pull/30504#discussion_r4664746886


##########
components/camel-vertx/camel-vertx-websocket/src/main/java/org/apache/camel/component/vertx/websocket/VertxWebsocketEndpoint.java:
##########
@@ -82,6 +82,14 @@ public class VertxWebsocketEndpoint extends DefaultEndpoint 
implements EndpointS
 
     @UriParam
     private VertxWebsocketConfiguration configuration;
+    @UriParam(label = "consumer",
+              description = "Whether the consumer routes each message 
synchronously. When true, the route runs on a thread of the"
+                            + " Vert.x worker pool, which waits until the 
route is complete, so the size of the worker pool limits"
+                            + " how many messages are routed at the same time. 
When false, the route starts on a worker thread"
+                            + " with the asynchronous routing engine, and the 
worker thread is free as soon as the route continues"
+                            + " on another thread (such as an asynchronous 
producer), so the worker pool no longer limits the"
+                            + " messages in flight.")
+    private boolean synchronous;

Review Comment:
   Same issue as `KnativeConfiguration.java`: `@UriParam` on `synchronous` 
omits `defaultValue = "false"`.
   
   ```suggestion
       @UriParam(label = "consumer", defaultValue = "false",
                 description = "Whether the consumer routes each message 
synchronously. When true, the route runs on a thread of the"
                               + " Vert.x worker pool, which waits until the 
route is complete, so the size of the worker pool limits"
                               + " how many messages are routed at the same 
time. When false, the route starts on a worker thread"
                               + " with the asynchronous routing engine, and 
the worker thread is free as soon as the route continues"
                               + " on another thread (such as an asynchronous 
producer), so the worker pool no longer limits the"
                               + " messages in flight.")
       private boolean synchronous;
   ```



-- 
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]

Reply via email to