Hi

See this. You can start instead of stop. Also you can configure a
route to not atuo start on startup etc.
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html

You can also use control bus
http://camel.apache.org/controlbus.html

On Tue, Sep 17, 2013 at 3:12 PM, bharathramesh
<bharathram...@hotmail.com> wrote:
> Hi
>
> I have the following requirement
>
> ROUTE 1
>
> from(some endpoint)
>   to("seda:test")
>
>
> ROUTE 2
>
> from("file://C:\Temp")
>    .process(Some Processor)
>
>
> I want ROUTE 2 to start consuming from the file endpoint only when a message
> is dropped on seda:test in ROUTE 1
>
> Could you tell me how to achieve this in Apache Camel
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/File-Endpoint-consumption-of-file-once-message-arrives-on-seda-tp5739662.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to