Claus Ibsen created CAMEL-26767:
-----------------------------------

             Summary: camel-jbang - camel cmd send: --repeat, --interval and a 
folder of messages, to feed a route
                 Key: CAMEL-26767
                 URL: https://issues.apache.org/jira/browse/CAMEL-26767
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.24.0


Step 2 of CAMEL-26760 ("let there be chaos"): an agent that explores chaos 
rules sends traffic into the routes, and {{camel cmd send}} sends one message 
per command. Kafka, JMS and the other brokers are stubbed ({{camel run 
--stub=remote}}), and {{camel cmd send --endpoint=kafka:refunds}} feeds the 
stubbed consumer (see the spike on CAMEL-26760, and CAMEL-26765).

* {{camel cmd send --repeat=50 --interval=200ms}}: the same message N times, 
with a pause between them. It prints a summary (sent, failed, time) instead of 
each reply.
* {{--body=file:<folder>/}}: the files of a folder in name order, one message 
per file (the feed of a chaos scenario, {{test/chaos/<name>/001.json}}). An 
optional {{001.properties}} next to {{001.json}} has the headers of that 
message. With {{--repeat}} it goes round the files again.
* The MCP tool {{camel_runtime_send}} gets the same: {{repeat}}, {{interval}} 
and a folder body.

_Claude Code on behalf of Claus Ibsen_




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

Reply via email to