GH-8681: Expose send-buffer-overflow-strategy
Fixes https://github.com/spring-projects/spring-integration/issues/8681 * Expose `send-buffer-overflow-strategy` attribute for WebSocket XML configuration * GH-8681: Add send-buffer-overflow-strategy to documentation
This commit is contained in:
@@ -94,6 +94,20 @@
|
||||
<xsd:union memberTypes="xsd:int xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="send-buffer-overflow-strategy">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
The WebSocket session's outbound message buffer overflow strategy.
|
||||
|
||||
Concurrently generated outbound messages are buffered if sending is slow.
|
||||
This strategy determines the behavior when the buffer has reached the limit
|
||||
configured with <send-buffer-size-limit>.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="overflowStrategyEnumeration xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
<xsd:attributeGroup ref="integration:smartLifeCycleAttributeGroup"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
@@ -320,6 +334,20 @@
|
||||
<xsd:union memberTypes="xsd:int xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="send-buffer-overflow-strategy">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
The WebSocket session's outbound message buffer overflow strategy.
|
||||
|
||||
Concurrently generated outbound messages are buffered if sending is slow.
|
||||
This strategy determines the behavior when the buffer has reached the limit
|
||||
configured with <send-buffer-size-limit>.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="overflowStrategyEnumeration xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="allowed-origins" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@@ -505,4 +533,11 @@
|
||||
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:simpleType name="overflowStrategyEnumeration">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="TERMINATE"/>
|
||||
<xsd:enumeration value="DROP"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
Reference in New Issue
Block a user