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

MessageGroup not getting expired when group-timeout-expression evaluates to a negative value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.14
    • Fix Version/s: 5.1 M1
    • Component/s: Core
    • Labels:

      Description

      If MessageGroup is persisted much earlier somehow before the SpEL gets evaluated against, the result of the obtainGroupTimeout(messageGroup) could become negative.

      For instance, if  MessageStore is responding incredibly slow and if group-timeout-expression provided is like the following, then the value can become negative and the MessageGroup is therefore not getting expired. 

      timestamp + 10000 - T(System).currentTimeMillis()
      

        Attachments

          Activity

            People

            • Assignee:
              abilan Artem Bilan
              Reporter:
              hanishi Haruhiko Nishi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: