Claus Ibsen created CAMEL-26262:
-----------------------------------
Summary: camel-alibaba-sls - the putLogs examples in the doc set a
text body, which fails, as putLogs needs a LogGroup or PutLogsRequest
Key: CAMEL-26262
URL: https://issues.apache.org/jira/browse/CAMEL-26262
Project: Camel
Issue Type: Bug
Reporter: Claus Ibsen
Fix For: 4.24.0
Found while adding the catalog body types of alibaba-sls (CAMEL-24961, PR
#28409).
h4. 1. Doc: the putLogs examples cannot work
The putLogs examples of {{alibaba-sls-component.adoc}} (main 2a465aa4814c,
lines 65-91) set the body with {{setBody(simple("${body}"))}} (Java) and a
{{simple}} setBody (YAML), so a text body reaches the producer, which needs a
{{LogGroup}} or {{PutLogsRequest}} and fails. Checked on 4.24.0-SNAPSHOT with a
Mockito client.
Proposed: build a {{LogGroup}} in the examples (or accept a text body and turn
it into one log).
_Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)