}
public void testRejectedExecution() throws Exception
{
TestSession testSession = new TestSession();
_pool.createNewJobForSession(testSession);
_pool.filterWrite(new NoOpFilter(), testSession, new IoFilter.WriteRequest("Message"));
//Shutdown the pool
_executorService.getPool().shutdownNow();
try
{
testSession = new TestSession();
_pool.createNewJobForSession(testSession);
//prior to fix for QPID-172 this would throw RejectedExecutionException
_pool.filterWrite(null, testSession, null);
}
catch (RejectedExecutionException rje)