camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Rajagopal <Deepak.Rajago...@standard.com>
Subject Stopping one route from another
Date Wed, 13 Sep 2017 23:03:34 GMT
For various reasons we would like to stop the main route from a secondary route based on time
and then restart it at a later point in time.
The camel page on this topic http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html
seems to indicate that we should use a thread to achieve this.
Is this still a valid thing to do? Our static security scans flag the use of unmanaged threads
.
It is also not clear from this page whether the use of a latch alone might achieve the same
ends?
Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message