Re: error while testing: duplicate id detected

2015-01-23 Thread som
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=BatchDirconstant/dtsspring/batch//constant/setHeader
  
from
uri=quartz://report?cron=0+0+8,12,16+*+*+?delete=trueamp;exclusiveReadLockStrategy=#ClusteredLockStrategyreadLockTimeout=1filter=#CSVFilterautoCreate=truemaxMessagesPerPoll=100/
 
setHeader
headerName=CamelFileAbsolutePathconstant/dtsspring/staging/test.csv/constant/setHeader
doTry
process ref=DTSSpringCSVProcessor/
process ref=ExtractTrailingETL /
doCatch
exceptionjava.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.


Re: error while testing: duplicate id detected

2013-10-23 Thread Claus Ibsen
);
 template.sendBodyAndHeader(file://data/inbox, test,
 Exchange.FILE_NAME, test.txt);
 Thread.sleep(2000);
 to.assertIsSatisfied();
 }

 @Override
 protected RouteBuilder createRouteBuilder() throws Exception {
 return new App.AppRoute();
 }

 @Override
 protected AbstractApplicationContext createApplicationContext() {
 return new
 ClassPathXmlApplicationContext(META-INF/spring/camel-context.xml);
 }

 }

 ###

 beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/spring
 http://camel.apache.org/schema/spring/camel-spring.xsd;

 camelContext xmlns=http://camel.apache.org/schema/spring;
 routeBuilder ref=appRoute /
 /camelContext
 bean id=appRoute class=com.cameltest.mavenproject1.App$AppRoute /
 bean id=someProcessor
 class=com.cameltest.mavenproject1.SomeProcessor /

 /beans




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



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Re: error while testing: duplicate id detected

2013-10-23 Thread Olaf
Oh, no... 
Thank you very much!



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