GH-2301: Add SimpMessageGrFactory.GroupType.LIST

Fixes https://github.com/spring-projects/spring-integration/issues/2301

* For non-ordered, without deduplication logic use-case the `ArrayList`
option for internal `SimpleMessageGroup` collection is added
* Make `SimpleMessageGroup` `protected` ctor as `public` for better
reuse in case of custom `MessageGroupFactory`
This commit is contained in:
Artem Bilan
2018-01-18 11:31:08 -05:00
committed by Gary Russell
parent 86c76999f6
commit 7e263aa618
4 changed files with 31 additions and 10 deletions

View File

@@ -95,6 +95,7 @@ This defaults to a `SimpleMessageGroupFactory` which produces `SimpleMessageGrou
Other possible options are `SYNCHRONISED_SET` and `BLOCKING_QUEUE`, where the last one can be used to reinstate the
previous `SimpleMessageGroup` behavior.
Also the `PERSISTENT` option is available. See the next section for more information.
Starting with __version 5.0.1_, the `LIST` option is also available for use-cases when the order and uniqueness of messages in the group doesn't matter.
[[lazy-load-message-group]]
==== Persistence MessageGroupStore and Lazy-Load