-
1. Re: Can I manually trigger a camel route, given it takes no input?
ffang Sep 13, 2013 10:33 AM (in response to vikingsteve)Hi,
I believe the camel:route-start shell command should help here
camel:route-start --help
DESCRIPTION
camel:route-start
Start a Camel route or a group of routes
SYNTAX
camel:route-start [options] route [context]
ARGUMENTS
route
The Camel route ID or a wildcard expression
context
The Camel context name.
OPTIONS
--help
Display this help message
Freeman
-
2. Re: Can I manually trigger a camel route, given it takes no input?
davsclaus Sep 15, 2013 5:27 AM (in response to vikingsteve)You cannot do this from the karaf shell.
But the web console with hawtio allows you to do that. http://hawt.io/ You can send messages to Camel endpoints. Though forcing a route to trigger from a quartz endpoint is harder as its really only quartz which can do this. If we open up for being able to send a message to any Camel route, then that could also be a little security risk. Though as you say for some kind of DEVELOPER mode it may be desirable to do so easily.