I can't get the splitter to work in the Scala DSL. This is what I want to do, but in the Java DSL:
from("direct:a").split(body().tokenizeXML("offer")).parallelProcessing().streaming().to("direct:test")
This will not compile in Scala due to the body(). If I try partial functions
and do body(_) then it fails on tokeinzeXML as being unknown.
I really want to use the Scala DSL for the ability to do mixins with traits,
but this is blocking me.
