JBoss QueueExecutor does not throw RejectedExecutionException when dropping task

Solution Verified - Updated -

Issue

  • When an executor with a bounded queue and no configured hand off executor rejects a task, the executor should throw a RejectedExecutionException. JBoss QueueExecutor does not throw RejectedExecutionException when dropping task in this scenario however while a QueuelessExecutor does.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.1.1 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.