You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/02/16 13:22:00 UTC
[jira] [Resolved] (CAMEL-17657) How to use asynchronous and non-blocking mode in a camel route
[ https://issues.apache.org/jira/browse/CAMEL-17657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17657.
---------------------------------
Resolution: Invalid
> How to use asynchronous and non-blocking mode in a camel route
> --------------------------------------------------------------
>
> Key: CAMEL-17657
> URL: https://issues.apache.org/jira/browse/CAMEL-17657
> Project: Camel
> Issue Type: Wish
> Components: came-core
> Affects Versions: 3.14.1
> Environment: jdk8 + macos
>
> Reporter: 郝志北
> Priority: Blocker
> Labels: performance
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Hi, everyone, i've been used camel in my application for half an year, and i found that camel seems not to support non-blocking asynchronous process, what i mean is, in the process, every node was called and executed in asynchronous and non-blocking way, so that i can gain the benefits of low thread usage. So i tried to use AsyncProcessor to write my process logic code, but i found in the source code that camel use CountdownLatch to achieve asynchronous invoke, in which the caller thread still need to wait until the callee was finished.
> I also search in the net such as google or stackoverflow, but found useless note and document , so is camel supports a way to implement asynchronous and non blocking processes? Look forward to and thank you for your enthusiastic answers!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)