WebSocket JSR356 Extension

Since Camel Quarkus 1.0.0-M4

The WebSocket JSR356 component provides websocket endpoints for communicating with clients using JSR356 (javax).

Maven users will need to add the following dependency to their pom.xml for this extension.

<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-websocket-jsr356</artifactId>
</dependency>

Usage

The extension provides support for the Camel WebSocket JSR356 Component.

Configuration

When using WebSocket consumers (E.g from("websocket-jsr356:/some/path")), you must first register the endpoint paths via the server-endpoint-paths configuration property.

For example:

quarkus.camel.websocket-jsr356.server-endpoint-paths=/foo,/foo/bar,/foo/bar/cheese

Note that paths are relative to the value of quarkus.http.root-path.