Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Incomplete
-
3.7.0
-
None
-
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.