Yes, this is possible. Probably the best way is to split the current route
in multiple routes (each with its own function). You can even keep the
crontab when needed. Something like this:
rest("/api")
.post("/transfertrain")
.to("direct:transfertrain");
from(Quartz.compose(getClass().getSi
Hi all
I have a CrontabRouteBuilder that I like to transform to a rest service
with camel
Actually I have:
> from(Quartz.compose(getClass().getSimpleName(), getGroup(),
> Quartz.setCron(getScheduling()).asText()))
> // routeId
> .routeId(getRouteId()).group(getGroup())
> // set