Hi,

Hope someone can help me out.  I am having issues upgrading to 2.6.0. During
runtime, I keep getting:

java.lang.NoSuchMethodError:
org.apache.camel.CamelContext.addRoutes(Lorg/apache/camel/RoutesBuilder;)V

on: 
context.addRoutes(new RouteBuilder() {
        public void configure() {
errorHandler(deadLetterChannel("bean:DeadLetterChannelProcessor?method=handleError").maximumRedeliveries(1));
from(listener).to("bean:"+listener2+"?method="+functName);
        }
});

The documentation still says this is valid, so I am guessing something
change recently.  Is there an easy fix? Also, is there a place to download
2.6.0 javadocs? The main link still points to 2.2.0 & the 2.6.0 download
release doesn't compile.  Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Upgrade-to-2-6-0-can-t-context-addRoutes-tp3423607p3423607.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to