I want a ThreadPool to execute customer orders, multiple orders should be processed parallel, but for the same customer orders should be processed in a generated sequence. Which means if any thread already processing customerA order then no other thread can process CustomerA's next order until first order is processed.
Are there any ThreadPool implementations which serve my case ?