Interface JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketBuilders

    • Method Detail

      • websocketJsr356

        default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointBuilder websocketJsr356​(String path)
        Javax Websocket (camel-websocket-jsr356) Expose websocket endpoints using JSR356. Category: http Since: 2.23 Maven coordinates: org.apache.camel:camel-websocket-jsr356 Syntax: websocket-jsr356:uri Path parameter: uri If a schemeless URI path is provided, a ServerEndpoint is deployed under that path. Else if the URI is prefixed with the 'ws://' scheme, then a connection is established to the corresponding server
        Parameters:
        path - uri
      • websocketJsr356

        default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointBuilder websocketJsr356​(String componentName,
                                                                                                     String path)
        Javax Websocket (camel-websocket-jsr356) Expose websocket endpoints using JSR356. Category: http Since: 2.23 Maven coordinates: org.apache.camel:camel-websocket-jsr356 Syntax: websocket-jsr356:uri Path parameter: uri If a schemeless URI path is provided, a ServerEndpoint is deployed under that path. Else if the URI is prefixed with the 'ws://' scheme, then a connection is established to the corresponding server
        Parameters:
        componentName - to use a custom component name for the endpoint instead of the default name
        path - uri