And are you sure LsaResponse is a Colection / Iteratable so it can be used for splitting?
See the splitter docs http://camel.apache.org/splitter And use tracer to see what goes on http://camel.apache.org/tracer Or write an unit test and debug the code. On Tue, May 29, 2012 at 5:29 AM, Christopher Love <[email protected]> wrote: > Hi all I am trying to split an ArrayList and send it to a queue. > > I am not getting anything after the split. Ideas? What debug logging > should I tweak? > > from("seda:ReloadLSADocs") > .to("clearHeader") > .validate(header("IGIVE_DOIT").isNotNull()) > .routeId("reload-lsa-docs") > .to("bean:lsaRedisService?method=reloadLsaDocs") > .split(body(LsaResponse.class)) // after this nothing > .throttle(100) > .to("activemq:reloadLsa?concurrentConsumers=1000&asyncConsumer=true"); > > from("activemq:reloadLsa?concurrentConsumers=1000&asyncConsumer=true") > .to("log:com.igive.loaded?showBody=true") > .routeId("reload-lsa-docs-queue") > .to("log:com.igive.loaded?showBody=true") > .to("bean:redisRssService?method=lpushLsaHtml"); > > Thanks > > Chris > > -- > Chris Love > [email protected] > http://www.cnmconsulting.net > Calendar: http://j.mp/cnmCalendar > Follow me on twitter: @chrislovecnm -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
