Hi John,
just to make sure, I use now a very clean war file, that has basically only
CDI component and one camel routeBuilder class deployed.
package com.kona.camel.routes;
import javax.enterprise.context.ApplicationScoped;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.cdi.ContextName;
import org.apache.camel.routepolicy.quartz2.CronScheduledRoutePolicy;
import com.kona.cdi.annotation.Startup;
@Startup
@ApplicationScoped
@ContextName("cdi-context")
public class MyRouteBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
CronScheduledRoutePolicy startPolicy = new CronScheduledRoutePolicy();
startPolicy.setRouteStartTime("*/10 * * * * ?");
from("direct:start").routeId("testRoute").routePolicy(startPolicy)
.from("sql:select * from seamv2.geosecmgr?dataSource=#epmDataSoruce")
.to("log:sql?showAll=true");
}
}
Same issue, the scheduler always uses the quartz.properties that comes with
the fuse wildfly module.
RAM Job Store and the job can not be stored because it already exists.
jboss-log.txt
<http://camel.465427.n5.nabble.com/file/n5790020/jboss-log.txt>
I uploaded the jboss log file.
Thanks for your help,
Wolfgang
--
View this message in context:
http://camel.465427.n5.nabble.com/quartz2-component-on-wildfly-10-1-tp5789975p5790020.html
Sent from the Camel - Users mailing list archive at Nabble.com.