Hi If you got the Camel in Action book by any chance then check out chapter 8 and 9 first. Then you should have a better understanding of this.
On Tue, Jan 8, 2013 at 11:51 AM, orz <vlazy...@gmail.com> wrote: > The Spring DSL is something like the following: > > <camel:route id="routeId"> > <camel:from uri="direct:start" /> > > <camel:transacted /> > > <camel:onException > > > <camel:exception>org.apache.camel.component.http.HttpOperationFailedException</camel:exception> > <camel:redeliveryPolicy disableRedelivery="false" > redeliveryDelay="10" > retryAttemptedLogLevel="WARN"/> > <camel:rollback markRollbackOnly="true" /> > </camel:onException> > > <camel:aggregate strategyRef="MyAggregationStrategy"> > <camel:correlationExpression> > <camel:constant>true</camel:constant> > </camel:correlationExpression> > <camel:completionTimeout> > <camel:simple>5000</camel:simple> > </camel:completionTimeout> > <camel:completionSize> > <camel:simple>5</camel:simple> > </camel:completionSize> > > <camel:setHeader headerName="CamelHttpMethod"> > <camel:constant>POST</camel:constant> > </camel:setHeader> > <camel:to > uri="http://thisurldoesnotexists?throwExceptionOnFailure=true" > /> > > </camel:aggregate> > </camel:route> > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Transactional-aggregator-tp5725084p5725113.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen