webSocket
Description
Allow HTTP protocol upgrades to the WebSocket protocol . After the upgrade, the connection's data packets are simply forwarded and not inspected.
Can be used in
spring:beans, api, bean, if, interceptor, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
url | false | - | The URL the WebSocket connection will be forwarded to. The (host,port) pair specifies the target server. The (path,query) part are sent to the target server on the initial request. (For example, ActiveMQ listens on port 61614 and expects the incoming WebSocket connection to have a path '/' and empty query.) | http://localhost:61614/ |
Child Elements
Position | Cardinality | Description | Element |
---|---|---|---|
1 | 0..* | wsInterceptor, wsLog or wsStompReassembler |