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

JDBC Based Aggregate EIP Repeat Process Msg

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 3.7.0
    • None
    • camel-sql
    • None
    • Unknown

    Description

      Using JDBC based aggregate EIP, in cluster multiple applications shared the same database for aggregation repository, different application use different correlation key to store aggregated message, set completionTimeout to 10s as condition of completion.

      There is randomly issue when reach the complete condition the aggregated message will be repeated process in multiple instances which means multiple applications will pick up aggregated message to process.

       

      Below is setting for aggregator

      completion-size: 500
      completion-timeout-ms: 10000
      recovery-maximum-redeliveries: 3
      recovery-interval-ms: 30000
      optimisticlock-maximum-retries: 3
      optimisticlock-maximum-retry-delay: 2000

       

      Checked thread Camel (camel-1) thread #1 - AggregateRecoverChecker picked up msg and process repeatly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            LeoGuo Leo Guo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: