camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jshankarc <jshanka...@gmail.com>
Subject Split EIP si not passing all Exchange Message to Endpoints
Date Fri, 03 Mar 2017 15:16:18 GMT
I could observe in Split EIP, all Exchanges are not forwarded to direct
endpoint and only 10 are passed.

*Question*: Why all the exchanges which are processed using split are not
passed to direct endpoint?

Please let me how to configure split to pass all the exchange message which
are processed to the direct endpoint to improve performance.

*Camel version *- 2.17.0
Example: 30 are message are passed to split and only 10 are sent to direct
endpoint

<route xmlns="http://camel.apache.org/schema/spring" streamCache="true"
id="route-customerproduct-customerproductsaggregation">
	<from uri="direct:customerproductsaggregation"/>
	<split parallelProcessing="true" strategyRef="xPathAggregationStrategy"
stopOnException="true"> *30 Exchange*
		<xpath>//Account[PartyKeys/ProductIdent/text() = 'Cards']</xpath>
		<to uri="direct:acctCreditservicecall"/>
	</split>
	<log
message="${property.RequestId}-CustomerProductPartyAcctCardRelInq-EndofSplitter-${date:now:hh:mm:ss}"
loggingLevel="INFO"/>
</route>

<route>
   <from uri="direct:acctCreditservicecall" > *10 Exchanges*
  <log message="message ${body}" />
</route>

Tired with below configurations but did not find any solution:
<split parallelAggregate="true"
executorServiceRef="fooProfile"parallelProcessing="true"
strategyRef="xPathAggregationStrategy" stopOnException="true"> 

<threadPoolProfile id="fooProfile"  poolSize="100" maxPoolSize="200"
maxQueueSize="-1" />





--
View this message in context: http://camel.465427.n5.nabble.com/Split-EIP-si-not-passing-all-Exchange-Message-to-Endpoints-tp5794755.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message