Andrea Cosentino created CAMEL-28038:
----------------------------------------

             Summary: camel-aws2-lambda: listEventSourceMapping is the only 
list operation without a marker and a page size
                 Key: CAMEL-28038
                 URL: https://issues.apache.org/jira/browse/CAMEL-28038
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
            Reporter: Andrea Cosentino


Found during an audit of the cloud components (camel-aws, camel-azure, 
camel-google, camel-huawei) at commit 7c0644752e17. Every item below was 
verified against the source.

{{Lambda2Producer.listEventSourceMapping}} builds a 
{{ListEventSourceMappingsRequest}} with only {{functionName}}, so the result is 
truncated at the service default and the route cannot page. Its four sibling 
list operations in the same class all read a marker and a max-items header and 
set the next marker on the out message (see the listFunctions branch).

Proposed change: read {{MARKER}} and {{MAX_ITEMS}} into the builder and set 
{{MARKER}} from {{result.nextMarker()}}, exactly as the siblings do.

_Claude Code on behalf of oscerd_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to