camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Osowski <>
Subject Best practice question
Date Wed, 16 Oct 2013 23:40:58 GMT
Dear Camel users.

Given the following DSL.  What would be the best way to execute a task
when all the below processing is complete?

Specifically, I have a second long running task that needs to get
queued as soon as  FOO2_QUEUE is complete.

      .process(new Processor() {
        public void process(Exchange exchange) throws Exception {
          //All we care about is the citedArticle IDs list
          List<Long> ids = exchange.getIn().getBody(Foo.class).getIDs();
      .split().body() //Create a job for each ID


View raw message