Interface WebsocketEndpointBuilderFactory.WebsocketBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- WebsocketEndpointBuilderFactory
public static interface WebsocketEndpointBuilderFactory.WebsocketBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WebsocketEndpointBuilderFactory.WebsocketEndpointBuilder
websocket(String path)
Jetty Websocket (camel-websocket) Expose websocket endpoints using Jetty.default WebsocketEndpointBuilderFactory.WebsocketEndpointBuilder
websocket(String componentName, String path)
Jetty Websocket (camel-websocket) Expose websocket endpoints using Jetty.
-
-
-
Method Detail
-
websocket
default WebsocketEndpointBuilderFactory.WebsocketEndpointBuilder websocket(String path)
Jetty Websocket (camel-websocket) Expose websocket endpoints using Jetty. Category: websocket Since: 2.10 Maven coordinates: org.apache.camel:camel-websocket Syntax:websocket:host:port/resourceUri
Path parameter: host The hostname. The default value is 0.0.0.0. Setting this option on the component will use the component configured value as default. Default value: 0.0.0.0 Path parameter: port The port number. The default value is 9292. Setting this option on the component will use the component configured value as default. Default value: 9292 Path parameter: resourceUri (required) Name of the websocket channel to use- Parameters:
path
- host:port/resourceUri- Returns:
- the dsl builder
-
websocket
default WebsocketEndpointBuilderFactory.WebsocketEndpointBuilder websocket(String componentName, String path)
Jetty Websocket (camel-websocket) Expose websocket endpoints using Jetty. Category: websocket Since: 2.10 Maven coordinates: org.apache.camel:camel-websocket Syntax:websocket:host:port/resourceUri
Path parameter: host The hostname. The default value is 0.0.0.0. Setting this option on the component will use the component configured value as default. Default value: 0.0.0.0 Path parameter: port The port number. The default value is 9292. Setting this option on the component will use the component configured value as default. Default value: 9292 Path parameter: resourceUri (required) Name of the websocket channel to use- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- host:port/resourceUri- Returns:
- the dsl builder
-
-