It's not a problem on my component

The main class :

package serveur;

import org.apache.camel.CamelContext;
import org.apache.camel.impl.DefaultCamelContext;

public class    SibCamelServeur {

        private static SibRoute         sibroute = new SibRoute();

        public static void main(String args[]) throws Exception {
                CamelContext    context = new DefaultCamelContext();

                context.addRoutes(sibroute);
                context.start();

                boolean notInterrupted = false;
                while (!notInterrupted) {
                        try {
                                Thread.sleep(10000);
                        } catch (InterruptedException e) {
                                notInterrupted = true;
                                Thread.currentThread().interrupt();
                        }
                }

                context.stop();
        }
}

The route class :


package serveur;

import org.apache.camel.Processor;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;

public class    SibRoute extends RouteBuilder {
        public void configure() {
        }
}


I obtain this exception when I only use 2.6.0 jars

As soon as I add
/usr/local/activemq/release/lib/camel-core-2.0-20090306.204442-136.jar to my
classpath from ActiveMQ librairies, this small program work doesn't throw
any exception (java.lang.ClassNotFoundException: org.apache.camel.Routes)

Eric-AWL




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-2-6-0-Own-component-development-java-lang-ClassNotFoundException-org-apache-camel-Routes-tp3409104p3409250.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to