mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-05 22:49:02 +00:00
Fix "relay-port" XSD type in spring-websocket.xsd
Prior to this commit, the `relay-port` attribute of the `<websocket:stomp-broker-relay />` tag was of type `xsd:int`. This prevents developers from using `PropertyPlaceholderConfigurer`, even though this configuration key is a good candidate for such use (this value depends on prod/staging/etc environment). This commit changes that type to `xsd:string`. Issue: SPR-11537
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@
|
||||
]]></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="relay-port" type="xsd:int">
|
||||
<xsd:attribute name="relay-port" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation source="java:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler"><![CDATA[
|
||||
The STOMP message broker port.
|
||||
|
||||
Reference in New Issue
Block a user