Camel 1.x is EOL and no longer supported at Apache. in your custom aggregatorStrategy you should be able to get the caused exception on the exchange. And decide what to do.
On Fri, Aug 17, 2012 at 6:05 PM, Neeraj Mahajan <neeraj.maha...@specsavers.com> wrote: > I am calling a route from Aggregator using direct component once aggregation > is complete. > When the called direct route throws any Exception I expect that aggregator > *should not handle* that exception, but the problem I am facing is that the > exception is being getting handled by the aggregator which i dont require. > > I am using camel *1.6.2 version* and i can't ugrade to newer versions. > Following is code snippet i am using > > <route id="splitterRoute" errorHandlerRef="noErrorHandlerBuilder"> > <splitter> > <xpath>/ord:orderSet/ord:orders/ord:order</xpath> > <process ref="myProcessor" /> > <to uri="direct:aggregatorRoute" /> > </splitter> > </route> > > <route id="aggregatorRoute" errorHandlerRef="noErrorHandlerBuilder"> > <from uri="direct:aggregatorRoute" /> > <aggregator strategyRef="aggregatorStrategy" > > <simple>header.JMSCorrelationID</simple> > <to uri="direct:responseGenerationRoute"/> > <completedPredicate> > <methodCall > bean="aggregationCompletionStrategy" > method="aggregationComplete" /> > </completedPredicate> > </aggregator> > </route> > > <route id="responseGenerationRoute" errorHandlerRef="noErrorHandlerBuilder"> > <from uri="direct:responseGenerationRoute" /> > <process ref="responseGenerationProcessor" /> > <recipientList> > <header>responseDestination</header> > </recipientList> > </route> > > It will be helpfull, If someone can provide any direction on this. > > Thanks in Advance > Neeraj > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Aggregator-not-propagating-exception-back-in-camel-version-1-6-2-tp5717629.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen