> Did you have chance to try this ?
> "direct:test" unmarshal(new GzipDataFormat()) to "direct:end"
Why don't just stick to the following?
from("direct:test") unmarshal() gzip() to("mock:test")
--
Henryk Konsek
http://henryk-konsek.blogspot.com
I got the unmarshal working by using the GzipDataFormat that extends
DataFormatDefinition. The normal GzipDataFormat doesn't work.
Any thoughts on the splitter?
On Nov 15, 2012, at 10:11 PM, "Willem jiang" wrote:
> Scala unmarshal DSL support to take the parameter of data formate.
> Did you h
Scala unmarshal DSL support to take the parameter of data formate.
Did you have chance to try this ?
"direct:test" unmarshal(new GzipDataFormat()) to "direct:end"
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http:/
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")