[
https://issues.apache.org/jira/browse/ARTEMIS-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237682#comment-16237682
]
ASF GitHub Bot commented on ARTEMIS-1499:
-----------------------------------------
Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1638#discussion_r148801546
--- Diff:
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/actors/ProcessorBase.java
---
@@ -109,12 +125,49 @@ public final boolean isFlushed() {
return stateUpdater.get(this) == STATE_NOT_RUNNING;
}
- protected void task(T command) {
- tasks.add(command);
--- End diff --
you've added tests that are simulating bugs at the code.. I would rather
fix bugs than protect the executor from them.
> ArtemisExecutor and ProcessorBase needs support of recursive blocking
> executions
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-1499
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1499
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
>
> The (ProcessorBase and) ArtemisExecutor allows recursive executions of
> blocking tasks (FutureLatch) that block the background event loop: it would
> be optimal to support recursive executions to handle them.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)