Javax Websocket (JSR 356)
Since Camel Quarkus 1.0.0-M4, JVM and native
Expose websocket endpoints using JSR356.
What’s inside
-
Javax Websocket component, URI syntax:
websocket-jsr356:uri
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
.