Hi
Camel 2.11 has a control bus component that allows you to send a stop
message to a Camel endpoint. See details at:
http://camel.apache.org/controlbus.html
And <camel:stop/> is for stopping continue routing, eg if you have
from X
to Y
choice
when A
to A
otherwise
stop
end
to X
to Z
Here we stop in the otherwise, so we won't continue routing, and go to
X and Z etc.
On Wed, May 1, 2013 at 6:55 PM, salemi <[email protected]> wrote:
> Hi,
>
> I know you can stop and start route using CamelContext. Is there a way to do
> it in XML?
>
> I saw <camel:stop> in the documentation but there not much desription?
>
> Is there something like <camel:start routeId="test"> ?
>
> Thanks,
> Ali
>
>
>
> -----
> Alireza Salemi
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Start-and-stop-a-route-using-sping-xml-tp5731871.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen