[
https://issues.apache.org/jira/browse/CAMEL-22651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035534#comment-18035534
]
Claus Ibsen commented on CAMEL-22651:
-------------------------------------
If you just stub a single then it would stub every component
{code:java}
{code}
{code:java}
camel run stub.yaml --stub=kafka{code}
{code:java}
~/workspace ❯ camel get endpoint
PID NAME AGE DIR TOTAL STUB REMOTE URI
2086 stub 36s in 1 x
kafka://test?brokers=my-cluster-kafka-bootstrap:9092
2086 stub 36s out 1 x aws2-s3://chatrooms-user3.bucket
{code}
> camel-jbang - Using --stub does not work correct with multiple patterns
> -----------------------------------------------------------------------
>
> Key: CAMEL-22651
> URL: https://issues.apache.org/jira/browse/CAMEL-22651
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.14.2, 4.15.0, 4.16.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.14.3, 4.17.0
>
>
> camel run stub.yaml --stub=kafka,aws
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)