You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Chirag Sanghavi (Jira)" <ji...@apache.org> on 2025/03/18 16:44:00 UTC

[jira] [Created] (CAMEL-21882) Aggregate by byte size

Chirag Sanghavi created CAMEL-21882:
---------------------------------------

             Summary: Aggregate by byte size
                 Key: CAMEL-21882
                 URL: https://issues.apache.org/jira/browse/CAMEL-21882
             Project: Camel
          Issue Type: Wish
          Components: came-core
            Reporter: Chirag Sanghavi


*User Story: Batch Message Aggregation in Apache Camel*

*Given* a Camel route that processes messages for an endpoint supporting batch consumption with a size limit (e.g., SQS with a 256KB limit), 
*When* messages are aggregated using the Camel aggregate function, 
*Then* messages should be grouped into batches without exceeding the size limit (factoring in headers and payload), assuming that each individual message is within the allowed limit.

in place of putting logic in each endpoint, improving aggregate will help multiple endpoints. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)