Hi all. There is a process of loading data from external systems. // first osgi bundle from("direct:loadFile") .id("exchangeCheckUnloadedAttach") .split().method(unloadedAttachSplitter, "findUnloadedAttach") .recipientList() .method(dynamicRouter, "getVerifyAttachRoutes") .aggregationStrategy(verifyLoadAggregation) // operation Boolen OR
.choice() .when(body(Boolean.class).isEqualTo(Boolean.TRUE)) .log(LoggingLevel.INFO, "load URL ${header.CamelHttpUrl}") .to("direct:loadFile") .otherwise() .log(LoggingLevel.WARN, "skip URL ${header.CamelHttpUrl}") .to("direct:skipFile") .end() .end() // second osgi bundle from("vm:appVerifyAttach?concurrentConsumers=1&waitForTaskToComplete=Always") .id("appVerifyAttch") .transacted("required") .bean(verifyLoadAttach, "verify"); 2013-07-16 13:23:04,841 | WARN | oc-read_Worker-2 | exchangeCheckUnloadedAttach | 103 - org.apache.camel.camel-core - 2.10.3 | skip URL http://zakupki.gov.ru/pgz/documentdownload?documentId=71943651 2013-07-16 13:23:05,450 | INFO | appVerifyAttach | VerifyLoadAttach | 150 - app-exchange-doc-read - 1.4.0 | add to load URL http://zakupki.gov.ru/pgz/documentdownload?documentId=71943677 The first number in the log entry appears in section choice-otherwise. The second number will appear in the journal entry from dynamicRouter process "vm:appVerifyAttach". Why operator of choice has executed before the process worked "vm:appVerifyAttach"? I'm using Apache Karaf 2.2.8 and Apache Camel 2.10.3. -- View this message in context: http://camel.465427.n5.nabble.com/recipientList-and-several-CamelContext-tp5735714.html Sent from the Camel - Users mailing list archive at Nabble.com.