You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by som <so...@yahoo.com> on 2015/01/28 18:08:01 UTC

Camel upgrade 2.10.3 to 2.14.1 -issues on quartz

I have the below quartz uri in the route throws two exceptions

<from
uri="quartz://report?cron=0+0+8,12,16+*+*+?delete=true&amp;exclusiveReadLockStrategy=#ClusteredLockStrategy&readLockTimeout=1&filter=#CSVFilter&autoCreate=true&maxMessagesPerPoll=100"/> 

Exceptions:

1. org.apache.camel.FailedToCreateRouteException: Failed to create route
DTS-Spring-upload-file-cron-route:
Route(Spring-upload-file-cron-route)[[From[quartz://repo... because of
Failed to resolve endpoint:
quartz://report?cron=0+0+8%2C12%2C16+*+*+%3Fdelete%3Dtrue&exclusiveReadLockStrategy=%23ClusteredLockStrategy*
due to: Illegal character after '?': D*	at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:192)
	at
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:805)
	at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:2174)

2. org.apache.camel.FailedToStartRouteException: Failed to start route
DTS-Spring-upload-file-cron-route *because of duplicate id detected:
DTS-Spring-upload-file-cron-route. Please correct ids to be unique among all
your routes.*	at
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:794)
	at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:2174)
	at
org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:739)
	at com.wellsfargo.first.utility.RouteLoader.loadRoute(RouteLoader.java:157)
	at com.wellsfargo.first.utility.RouteLoader.process(RouteLoader.java:193)

let me know whats the issue.

thx
som



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-upgrade-2-10-3-to-2-14-1-issues-on-quartz-tp5762187.html
Sent from the Camel - Users mailing list archive at Nabble.com.