You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2023/03/02 11:35:00 UTC

[jira] [Created] (CAMEL-19109) camel-vertx-websocket: Consumer should avoid blocking the Vert.x event loop

James Netherton created CAMEL-19109:
---------------------------------------

             Summary: camel-vertx-websocket: Consumer should avoid blocking the Vert.x event loop
                 Key: CAMEL-19109
                 URL: https://issues.apache.org/jira/browse/CAMEL-19109
             Project: Camel
          Issue Type: Improvement
          Components: camel-vertx-websocket
    Affects Versions: 4.0-M1, 3.20.2, 3.18.5
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 3.18.6, 3.20.3, 4.0-M3


There's the potential to block the Vert.x event loop if route processing coming after the vertx-websocket consumer does blocking operations. E.g like:

{code}
from("vertx-websocket:localhost:8080/slow")
    .delay(5000).syncDelayed()
    .to("mock:result");
{code}

We should do like what happens with camel-platform-http-vertx and wrap the exchange processing in a Vert.x blocking handler.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)