-
Notifications
You must be signed in to change notification settings - Fork 1.1k
INT-3339: Add priority
to the JdbcChannelMS
#1106
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For more info: http://troels.arvin.dk/db/rdbms/#select-order_by
I see no issues so far but I agree we need a I am not sure what you mean about GC, the query strings look like literals to me. Maybe we can add |
I mean my
Actually it's simple task for DBA: to compare initial scripts from different version and write |
I am ok with that, but let's add a note in the migration guide about the new columns added. |
Pushed entire |
Pushed |
Pushed Docs. All work is done. The Migration Guide note will be added after merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you need to promote this method? ChannelMessageStore
s don't need to remove their groups.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, It's really useful - purge
in terms of AMQP
That's all |
src/reference/docbook/jdbc.xml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to state that you can't use the same message store for both queue and priority channels (even with different regions) because the priority setting applies to the entire store.
Using a priorityEnabled
store with a QueueChannel
would not produce the expected results.
Pushed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fails on Oracle
java.lang.AssertionError:
Expected: an instance of java.lang.Long
but: <1> is a java.math.BigDecimal
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:865)
at org.junit.Assert.assertThat(Assert.java:832)
at org.springframework.integration.jdbc.store.channel.AbstractTxTimeoutMessageStoreTests.testMessageSequenceColumn(AbstractTxTimeoutMessageStoreTests.java:221)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true. Can we compare just two Number
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this works...
LGTM; final polish here: garyrussell@a7f36af |
Merged |
JIRA: https://jira.spring.io/browse/INT-3339