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/01/17 12:45:00 UTC

[jira] [Created] (CAMEL-18940) camel-vertx-websocket: Support URI path params for WS server consumer

James Netherton created CAMEL-18940:
---------------------------------------

             Summary: camel-vertx-websocket: Support URI path params for WS server consumer
                 Key: CAMEL-18940
                 URL: https://issues.apache.org/jira/browse/CAMEL-18940
             Project: Camel
          Issue Type: New Feature
          Components: camel-vertx-websocket
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 3.21.0, 4.0


The Vert.x web router has built-in support for path parameters. We could leverage this on the WS server consumer for vertx-websocket and have path params propagated as Camel headers. E.g  with a route configured like:

from("vertx-websocket:localhost:8080/chat/{user}")
.log("${header.user} >>> ${body}");



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