-
1. Re: Web interface funny
davsclaus Oct 16, 2010 6:07 AM (in response to julianc)What version of Camel are you using?
How do you run Camel? eg whats the server?
-
2. Re: Web interface funny
julianc Oct 18, 2010 5:07 AM (in response to davsclaus)Hi, I'm using the camel inside apache-activemq-5.4.0-fuse-00-00. I've attached my config files.
So the camel is camel-core-2.4.0-fuse-00-00
Julian
-
camel.xml 3.0 KB
-
activemq.xml 5.6 KB
-
-
3. Re: Web interface funny
davsclaus Oct 18, 2010 8:58 AM (in response to julianc)You got all the right classes in the classpath? eg you use Mina so you need the Apache MINA jars and its dependencies.
-
4. Re: Web interface funny
julianc Oct 18, 2010 9:11 AM (in response to davsclaus)I think I must have, because the route runs! Its just invisible in the camel web GUI.
I've attached the directory listing of
D:\FUSE\apache-activemq-5.4.0-fuse-00-00\lib
and the listing of
D:\FUSE\apache-camel-2.4.0-fuse-00-00\src\theseus\target\classes
which is in the CLASSPATH and is where my java classes are.
-
classes.txt 2.9 KB
-
lib.txt 5.5 KB
-
-
5. Re: Web interface funny
davsclaus Oct 18, 2010 10:48 AM (in response to julianc)You most likely need to include a JAR with your custom classes (eg the uk\co\bbc\gnd stuff)
-
6. Re: Web interface funny
julianc Oct 18, 2010 2:58 PM (in response to davsclaus)OK - I removed the class directory from the class path and added a jar of the classes in lib.
The route still works and I still have the problems.
I went back and commented out the
element to inject my bean into the instance of camel that the jetty web interface talks to ?
-
-
8. Re: Web interface funny
julianc Oct 20, 2010 12:29 PM (in response to julianc)Sorted!
By putting my bean definitions and routes in
apache-activemq-5.4.0-fuse-00-00\webapps\camel\WEB-INF\applicationContext.xml
I see the routes and endpoints in the web GUI and I can use my codec beans in mina urls!
-
9. Re: Web interface funny
davsclaus Oct 21, 2010 2:57 AM (in response to julianc)Thanks for sharing the solution