[
https://issues.apache.org/jira/browse/CAMEL-14048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948208#comment-16948208
]
Claus Ibsen commented on CAMEL-14048:
-------------------------------------
This will also fix a netty concurrent test that revealed this issue
[INFO] Running org.apache.camel.component.netty.NettyConcurrentTest
[ERROR] Tests run: 5, Failures: 0, Errors: 3, Skipped: 1, Time elapsed: 362.532
s <<< FAILURE! - in org.apache.camel.component.netty.NettyConcurrentTest
[ERROR]
testSmallConcurrentProducers(org.apache.camel.component.netty.NettyConcurrentTest)
Time elapsed: 121.203 s <<< ERROR!
java.util.concurrent.ExecutionException:
org.apache.camel.CamelExecutionException: Exception occurred during execution
on the exchange: Exchange[ID-asf948-gq1-ygridcore-net-1570637164003-0-3]
at
org.apache.camel.component.netty.NettyConcurrentTest.doSendMessages(NettyConcurrentTest.java:83)
at
org.apache.camel.component.netty.NettyConcurrentTest.testSmallConcurrentProducers(NettyConcurrentTest.java:46)
Caused by: org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange:
Exchange[ID-asf948-gq1-ygridcore-net-1570637164003-0-3]
Caused by: java.lang.NullPointerException
[ERROR]
testSmallConcurrentProducers(org.apache.camel.component.netty.NettyConcurrentTest)
Time elapsed: 120.132 s <<< ERROR!
java.util.concurrent.ExecutionException:
org.apache.camel.CamelExecutionException: Exception occurred during execution
on the exchange: Exchange[ID-asf948-gq1-ygridcore-net-1570637164003-2-4]
at
org.apache.camel.component.netty.NettyConcurrentTest.doSendMessages(NettyConcurrentTest.java:83)
at
org.apache.camel.component.netty.NettyConcurrentTest.testSmallConcurrentProducers(NettyConcurrentTest.java:46)
Caused by: org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange:
Exchange[ID-asf948-gq1-ygridcore-net-1570637164003-2-4]
Caused by: java.lang.NullPointerException
[ERROR]
testSmallConcurrentProducers(org.apache.camel.component.netty.NettyConcurrentTest)
Time elapsed: 120.114 s <<< ERROR!
java.util.concurrent.ExecutionException:
org.apache.camel.CamelExecutionException: Exception occurred during execution
on the exchange: Exchange[ID-asf948-gq1-ygridcore-net-1570637164003-3-2]
at
org.apache.camel.component.netty.NettyConcurrentTest.doSendMessages(NettyConcurrentTest.java:83)
at
org.apache.camel.component.netty.NettyConcurrentTest.testSmallConcurrentProducers(NettyConcurrentTest.java:46)
Caused by: org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange:
Exchange[ID-asf948-gq1-ygridcore-net-1570637164003-3-2]
Caused by: java.lang.NullPointerException
> camel-core - ServicePool should wait while starting service when acquiring
> --------------------------------------------------------------------------
>
> Key: CAMEL-14048
> URL: https://issues.apache.org/jira/browse/CAMEL-14048
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 3.0.0.RC2
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.0.0
>
>
> If using concurrency then producer template / producer cache may concurrently
> acquire a producer from same endpoint, and while it may be starting up the
> pool should wait for it to be ready before handing it out.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)