camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garybarker <>
Subject Queue batching solution
Date Fri, 15 Jul 2016 10:39:13 GMT
Is there a good camel way to batch requests for multiple types appearing on a
For instance I wish to listen on an AMQ queue for all events and then after
an event limit, or a timeout, we forward on the separate batches as a list
to a rest service.  Something like:

            .aggregate(constant("batch"), new
            .beanRef("eventAdaptorClient", "send")

Is it then possible to hold those messages for, say, an hour without
committing them (or losing them on a failure), or would a different solution
be preferable?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message