Skip to content

Add Channel-specific JDBC Message Store [INT-2674] #6649

Closed

Description

@spring-operator

Gunnar Hillert opened INT-2674 and commented

After some investigation believe I found the issue pointed out by:

#6587 - JDBC Message Store locking up with parallel transactional (long-running) consumers

The issue is in all instances where Query.UPDATE_GROUP gets executed. If all messages are coming from the same group, all polled messages from that channel want to update that same group. But because e.g. a Service Activator downstream is "busy", that record is locked and thus, the TX may time out.

When I avoid updating the INT_MESSAGE_GROUP table, the timeout issues are not observed.

As for JdbcMessageStore that back a channel, the group table does not add too much value and can either be bi-passed or a more efficient way of executing updates needs to be found.


Affects: 2.1.3

This issue is a sub-task of #6647

Activity

  1. spring-operator commented on Nov 19, 2012

    @spring-operator
    ContributorAuthor

    Gunnar Hillert commented

    PR Issued: #676

  2. spring-operator commented on Nov 19, 2012

    @spring-operator
    ContributorAuthor

    Gunnar Hillert commented

    Changed title to: Add Channel-specific JDBC Message Store
    Was: For JDBC MessageGroupStore-backed Channels - avoid updating the Group

  3. spring-operator commented on Nov 21, 2012

    @spring-operator
    ContributorAuthor

    Gunnar Hillert commented

    PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions