I am having issues getting the following Java examples to work using the Scala 
DSL.  Any insight is greatly appreciated as I am still trying to make my way 
with Scala.

    
from("direct:test").unmarshal().gzip().split(body().tokenizeXML("offer")).parallelProcessing().streaming().to("mock:test")


I tried to use partial functions to no avail:

 
from("direct:test").unmarshal(_).gzip().split(body(_).tokenizeXML("offer")).parallelProcessing().streaming().to("mock:test")

Jason

Reply via email to