Javax Websocket (JSR 356)

Since Camel Quarkus1.0.0-M4 JVMsupported Nativesupported

Expose websocket endpoints using JSR356.

What’s inside

Please refer to the above link for usage and configuration details.

Maven coordinates

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

Check the User guide for more information about writing Camel Quarkus applications.

Additional Camel Quarkus 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.

Configuration property Type Default

quarkus.camel.websocket-jsr356.server-endpoint-paths

A comma separated list of server endpoint paths that the websocket consumer will bind to.

string

Configuration property fixed at build time. All other configuration properties are overridable at runtime.