Skip to content

GH-3446: Stream support in the MessageGroupStore - #3466

Merged
garyrussell merged 1 commit into
spring-projects:masterfrom
artembilan:GH-3446
Jan 20, 2021
Merged

garyrussell merged 1 commit into
spring-projects:masterfrom
artembilan:GH-3446

Conversation

@artembilan

Copy link
Copy Markdown
Member

Fixes #3446

  • For better resources utilization provide a Stream<Message<?>> API
    on the MessageGroupStore, MessageGroup and MessageGroupQueue
  • Use this API in the DelayHandler when it reschedules persisted messages

Fixes spring-projects#3446

* For better resources utilization provide a `Stream<Message<?>>` API
on the `MessageGroupStore`, `MessageGroup` and `MessageGroupQueue`
* Use this API in the `DelayHandler` when it reschedules persisted messages

@garyrussell garyrussell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any new tests for these stream methods.

@artembilan

Copy link
Copy Markdown
Member Author

I don't see any new tests for these stream methods.

All the delayer tests against persistent message stores do their job I believe.
This is only a place where we actually use messages from the stored group.

@garyrussell
garyrussell merged commit f0f2c41 into spring-projects:master Jan 20, 2021
@artembilan
artembilan deleted the GH-3446 branch January 20, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DelayHandler, ConfigurableMongoDbMessageStore and PersistentMessageGroup issue at startup/load

2 participants