-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Consider improving message polling in JdbcMessageStore [INT-2200] #6182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oleg Zhurakousky commented Moving it to 2.2.M1 since we need to come up with the strategy on how to depend on JdbcPagingItemReader without depending on Spring Batch. The actual class and its supporting infrastructure might need to move to some commons package either in Spring or spring-data-commons |
Gary Russell commented Same problem applies to peek() in the MessageGroupQueue - fetches the whole group and discard all except the first. |
Artem Bilan commented Hello Nevertheless there is some improvement which we can take from: I agree about MessageGroupQueue#peek(), so there we need separate method in the MessageGroupStore similar to 'pollMessageFromGroup()', but without message removing. Also here I have a question: what is the reason to have such method specification: |
Artem Bilan commented Maybe this issue is related to #5123 |
Uh oh!
There was an error while loading. Please reload this page.
Oleg Zhurakousky opened INT-2200 and commented
Since 2.1.M3 'pollMessageFromGroup()' method was added to MessageGroupStore
Its current JDBC implementation while improved (see #6168) is not yet perfect since it still fetches all the rows from the table while only needing the first one.
Based on the PR comment form Gary https://github.com/SpringSource/spring-integration/pull/152/files#r185163
We should consider using JdbcPagingItemReader
Affects: 2.1 M2
This issue is a sub-task of #6523
Issue Links:
Add locking strategy to AbstractMessageGroupStore [INT-1117] #5123 Add locking strategy to AbstractMessageGroupStore
Support rescheduling of release tasks for a persistent MessageStore-backed DelayHandler upon restart [INT-1132] #5139 Support rescheduling of release tasks for a persistent MessageStore-backed DelayHandler upon restart
The text was updated successfully, but these errors were encountered: