webSocket

Allow HTTP protocol upgrades to the WebSocket protocol. After the upgrade, the connection's data packets are simply forwarded and not inspected.

Default:

false

Can be used in:

serviceProxy, api, stompProxy, swaggerProxy, if, registration, wsStompReassembler, interceptor, bean, internalProxy, transport and soapProxy


Attributes

NameRequiredDefaultDescriptionExample
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/

Other optional Child Elements


wsStompReassembler, wsLog, wsInterceptor