Hello,

I don't want to lose any message if my application crashes during an
aggregation so I add an aggregationRepository in my JMS transaction...
Can the aggregationRepositoryRef join the JMS transaction in this following
route ?

from("activemq:file2doc.prepareReturnFile")                             
                                .aggregate(header(GedConstants.SET_NAME),
                                                fileAggregationStrategy)
                                .aggregationRepositoryRef("gedLineRepo")
                                .completionSize(header("returnFileCount"))      
                        
                                .beanRef(BEAN_REF_FILE2DOC_CAMEL_FACADE, 
"mergeInfo")                   
.to("activemq:file2doc.return");

Thanks for any suggestion


--
View this message in context: 
http://camel.465427.n5.nabble.com/can-the-aggregationRepository-join-a-JMS-transaction-tp5110230p5110230.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to