Skip to content

INT-2751 Jdbc Message Store Group Id Issues - #629

Closed
garyrussell wants to merge 1 commit into
spring-projects:masterfrom
garyrussell:INT-2571a
Closed

garyrussell wants to merge 1 commit into
spring-projects:masterfrom
garyrussell:INT-2571a

Conversation

@garyrussell

Copy link
Copy Markdown
Contributor

Jdbc Message Store always converts the correlation id
to a UUID string, even if it's already a String.

This causes reaper issues with the correlating message
handler because the reap occurs under
a different lock to normal group processing.

This change ensures the lock is properly mutually
exclusive.

Jdbc Message Store always converts the correlation id
to a UUID string, even if it's already a String.

This causes reaper issues with the correlating message
handler because the reap occurs under
a different lock to normal group processing.

This change ensures the lock is properly mutually
exclusive.
@garyrussell

Copy link
Copy Markdown
Contributor Author

@markfisher @olegz @ghillert

My big concern about this is all the UUID stuff when it's really not needed - especially when using SimpleMessageStore.

We could add optimization (here and in the JDBC message store) for when the correlation key is already a String but it's not a complete solution.

20/20 is hindsight, but it sure would would be nice if we had required correlationId to be a String.

@ghillert

Copy link
Copy Markdown
Contributor

Somewhat related to the JDBC Message Store - I created a Jira a while back: https://jira.springsource.org/browse/INT-2675

@garyrussell

Copy link
Copy Markdown
Contributor Author

After discussion we plan to merge this as-is; please review/merge/cherry-pick to 2.1.x ASAP so I can add a note to the support ticket.

olegz added a commit to olegz/spring-integration that referenced this pull request Sep 19, 2012
* INT-2571a:
  INT-2751 Jdbc Message Store Group Id Issues
@olegz olegz closed this Sep 19, 2012
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.

3 participants