c81dcfc790
This fix work in two ways: 1) Both the PEC and EPC strategies when confronted with a RejectedExecutionException will continue to Produce rather than consume. 2) If a produced Runnable cannot be consumed and it supports the new Rejectable interface, then it's reject() method is called by the producer thread. Typically this is implemented to close the connection - with the risk being that the close might block, but that is probably better than leaking the connection? |
||
---|---|---|
.. | ||
src | ||
pom.xml |