2008/9/1 Gert Vanthienen <[EMAIL PROTECTED]>:
> James,
>
> The _ is indeed a Scala specific construct: it represents a parameter in a
> function literal -- in our case this often represents the Camel Exchange.
>  You only need them if you are using Scala function literals though, I
> managed to get rid of them using partially applied functions for the other
> supported languages like xpath and jxpath a while ago.
> You can find an xpath example in
> http://svn.eu.apache.org/repos/asf/activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SplitterRouteBuilderTest.scala
> and a jxpath one in
> http://svn.eu.apache.org/repos/asf/activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/RecipientListRouteTest.scala

Awesome stuff - I'd not realised you'd added neato language functions
too :) Nice!

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to