Interface WebsocketEndpointBuilderFactory.WebsocketBuilders

    • 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
      • 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 name
        path - host:port/resourceUri