Allow setting SockJsMessageCodec in WebSocket config

Issue: SPR-12091
This commit is contained in:
Rossen Stoyanchev
2014-08-25 15:19:50 -04:00
parent 15f496bc2a
commit 2a0765e76d
5 changed files with 55 additions and 2 deletions

View File

@@ -224,6 +224,14 @@
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="message-codec" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.web.socket.sockjs.support.AbstractSockJsService"><![CDATA[
The bean name of a SockJsMessageCodec to use for encoding and decoding SockJS messages.
By default Jackson2SockJsMessageCodec is used requiring the Jackson library to be present on the classpath.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="stomp-broker-relay">