Hello, I use Scala 2.9, Camel 2.8.2 and IntelliJ IDEA 10.5. All libraries are imported via Maven. Other Scala stuff works well, thus Scala in IDEA seems not to be the problem. I also can run a CamelStarter class which starts the CamelContext successfully.
I created a route: import org.apache.camel.scala.dsl.builder.RouteBuilder class FilterRoute extends RouteBuilder { "direct:a" when (_.in == "kai") to("mock") } The "in" symbol cannot be found! (nevertheless code completion of IDEA offers me "in" and a lot of other methods. Thus, I do not understand this error. "==" is also not found. If I create a class which extends RouteBuilder, but not containing any route, then I got an error that some methods are not implemented. I went to RouteBuilder.scala. Some compile error occur. Indeed, several methods are not found, for example both wiretap-methode are in red color: def wireTap(uri: String) = stack.top.wireTap(uri) def wireTap(uri: String, expression: Exchange => Any) = stack.top.wireTap(uri, expression) I am no Scala expert, so it is tough for me to follow all these traits, implicit conversions, etc. in the Scala DSL. Can anybody assume what is wrong? Do I need another Camel, Scala or IDEA version? Is any specific library missing? Best regards, Kai