Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3037

JdbcMessageStore getMessageGroup(Object) doesn't cater for expire-groups-upon-completion = false

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.2.4, 3.0 M3
    • Component/s: JDBC Support
    • Labels:
      None

      Description

      when setting the expire-groups-upon-completion="false", if I resend an already processed message it is not discarded. this comes down to the getMessageGroup(Object id) code returning a new SimpleMessageGroup() when the message size == 0 without evaluating if the message group id is still there.

      to make the behavior the same as SimpleMessageStore, the size() == 0 logic needs to be removed

        Attachments

          Activity

            People

            • Assignee:
              willschipp Will Schipp
              Reporter:
              willschipp Will Schipp
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: