camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tadayoshi Sato <sato.tadayo...@gmail.com>
Subject Re: Stopping one route from another
Date Wed, 13 Sep 2017 23:39:54 GMT
Hi,

You can use ControlBus EIP to manage a camel route from another. It should
be what you are really looking for.
http://camel.apache.org/controlbus.html

On Thu, Sep 14, 2017 at 8:03 AM, Deepak Rajagopal <
Deepak.Rajagopal@standard.com> wrote:

> 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