Yes, I considered this as a temporary workaround but it doesn't really suit our case; optimistic locking ought to work well when you don't expect a lot of contention; unfortunately I expect large batches of tens of thousands of sequential messages that I expect to get batched together into small groups.
However I'll definitely profile it / compare it to the other workaround of introducing a thread pool. -- View this message in context: http://camel.465427.n5.nabble.com/Aggregator-lock-tp5739692p5740053.html Sent from the Camel - Users mailing list archive at Nabble.com.