camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From som <somes...@yahoo.com>
Subject Re: error while testing: duplicate id detected
Date Fri, 23 Jan 2015 23:33:21 GMT
I recently upgraded from 2.10.3 to 2.14.1, I am getting the below error

I have two config files- DTSSpring-config.xml and camel-config.xml

I found there are 10 beans present in above both, I deleted the file
DTSSpring-config.xml, Built the Web project and published to the tomcat7 in
Eclipse and out side of the eclipse in standalone tomcat - Still I see the
duplicate Id error below. 

Error trace
-------------
org.apache.camel.FailedToStartRouteException: Failed to start route
DTSSpring-attached-email-handler because of duplicate id detected:
DTSSpring-attached-email-handler. 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(Unknown
Source)



My route extract is as below:
---------------------------------
<route id="DTS-Spring-upload-file-cron-route" trace="true">
	  <setHeader
headerName="BatchDir"><constant>/dtsspring/batch/</constant></setHeader>
	  
		<from
uri="quartz://report?cron=0+0+8,12,16+*+*+?delete=true&amp;exclusiveReadLockStrategy=#ClusteredLockStrategy&readLockTimeout=1&filter=#CSVFilter&autoCreate=true&maxMessagesPerPoll=100"/>

	    <setHeader
headerName="CamelFileAbsolutePath"><constant>/dtsspring/staging/test.csv</constant></setHeader>
		<doTry>
	    <process ref="DTSSpringCSVProcessor"/>
		<process ref="ExtractTrailingETL" />	
			<doCatch>
				<exception>java.lang.Exception</exception>
			</doCatch>
		</doTry>
		



Please let me know any this else needed for your analysis.
Som	



--
View this message in context: http://camel.465427.n5.nabble.com/error-while-testing-duplicate-id-detected-tp5742041p5762071.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message