郝志北 created CAMEL-17657:
---------------------------
Summary: 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: 郝志北
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)