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

Claim Check Out calls both MessageStore.getMessage and MessageStore.removeMessage when removing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2. GA
    • Fix Version/s: 3.0 M1, 2.2.2
    • Component/s: Core
    • Labels:

      Description

      When ClaimCheckOutTransformer is asked to remove a message when retrieving it, it uses both MessageStore.getMessage and MessageStore.removeMessage, although MessageStore.removeMessage is supposed to return the message as well.

      It ends up, for JdbcMessageStore anyways, retrieving the row twice (and performing the row mapping twice). For large payloads, this deserialization might take some time.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            nickspacek Nick Spacek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified