On Fri, Feb 1, 2013 at 8:25 PM, gilboy <josephoto...@gmail.com> wrote: > Hi > > I have a use case were I receive messages from a subsystem via a JMS topic. > My applications needs to enrich these messages, aggregate them together and > deliver them to another system via file based integration every 15 mins. > > I was thinking of using the aggregation eip and having the aggregation > condition to be every 15 mins. My concern with this approach is that I may > run our of resources (e.g. memory). Streaming is not an option either. > > Hence, I was wondering if it is possible to have the JMS consumer run every > 15 mins also >
Since you need to transfer files to the other party. You can maybe store the files on the local disk. So they are not kept in memory etc. And then transfer the files every 15 minutes. You can have another route that is scheduled to run every 15 min. > Thanks > Joe > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMS-consumer-aggregating-messages-and-delivering-to-sub-system-in-batch-mode-tp5726793.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