Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8947

LevelDBAggregatorRepository redelivers incorrectly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.14.1
    • Fix Version/s: 2.19.0
    • Component/s: camel-leveldb
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I'm using an the aggregator with the LevelDBAggregationRepository and seeing an incorrect redelivery of a message when using the UseLatestAggregationStrategy...

      this very basic route (see attached)...

      from("direct:start")
      .aggregate(constant(true), new UseLatestAggregationStrategy())
      .completionSize(2)
      .aggregationRepository(repo)
      .to("mock:mock");

      shows the following behavior...

      WARN LevelDBAggregationRepository - Unable to confirm exchangeId [ID-localhost-63819-1436483565832-0-6 from repository repo1: Not Found]

      DEBUG LevelDBAggregationRepository - Scanned and found 1 exchange(s) to recover (note some of them may already be in progress).

      DEBUG LevelDBAggregationRepository - Recovering exchangeId [ID-localhost-63819-1436483565832-0-3] -> Exchange[Message: test1]

      resulting in a duplicate message being processed through the aggregator route...

      if the default in-memory repo is used, the test behaves as expected...no unnecessary redelivery, etc.

        Attachments

        1. LevelDBAggregatorUseLatestTest.patch
          2 kB
          Benjamin P. O'Day

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                boday Benjamin P. O'Day
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: