On Wed, Mar 13, 2013 at 3:13 PM, Gardella juan <gardellajuanpa...@gmail.com> wrote: > The compiler says "The method spel(String) is undefined for the type > MyRouteRouteBuilder" where it extends > org.apache.camel.builder.RouteBuilder. >
Ah you need to do a static import of the spel method from a class in camel-spring. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Spel-expressions-don-t-compile-as-says-in-the-documentation-Is-it-a-bug-tp5729097p5729114.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen