Option to preserve publish order

Issue: SPR-13989
This commit is contained in:
Rossen Stoyanchev
2018-07-23 23:22:16 -04:00
parent 430250c80f
commit 7500b144ae
17 changed files with 496 additions and 95 deletions

View File

@@ -895,6 +895,22 @@
Prefixes without a trailing slash will have one appended automatically.
By default the list of prefixes is empty in which case all destinations match.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="preserve-publish-order" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Whether the client must receive messages in the order of publication.
By default messages sent to the clientOutboundChannel may
not be processed in the same order because the channel is backed by a
ThreadPoolExecutor that in turn does not guarantee processing in order.
When this flag is set to true messages within the same session
will be sent to the clientOutboundChannel one at a time in
order to preserve the order of publication. Enable this only if needed
since there is some performance overhead to keep messages in order.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>