[ 
https://issues.apache.org/jira/browse/CAMEL-19074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17690740#comment-17690740
 ] 

Federico Mariani commented on CAMEL-19074:
------------------------------------------

interesting, this is my output
{code:java}
➜  camel-jbang-integration-tests git:(main) docker exec 7372c4ea1534 camel -V
3.20.2
➜  camel-jbang-integration-tests git:(main) docker exec 7372c4ea1534 ls app
cheese.yaml
➜  camel-jbang-integration-tests git:(main) docker exec 7372c4ea1534 camel run 
app/cheese.yaml --background
No Camel integration files to run
{code}
Probably, since I'm using a docker container, I did some mess with volumes, but 
_docker exec 7372c4ea1534 camel run app/cheese.yaml_ works as expected.

> camel-jbang - background not working as expected
> ------------------------------------------------
>
>                 Key: CAMEL-19074
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19074
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 3.20.2
>            Reporter: Federico Mariani
>            Priority: Major
>
> Tested with version 3.20.1 and 3.20.2
> When executing 
> {code:java}
> camel run app/cheese.yaml --background
> No Camel integration files to run
> {code}
> The integration file cannot be found, same command without --background works 
> as expected
> When executing
> {code:java}
> camel run-background app/cheese.yaml
> Unmatched arguments from index 0: 'run-background', 'app/cheese.yaml'
> Did you mean: run or bind or dependency?
> {code}
> run-background does not exist at all. Am I missing something? Moreover I 
> think that documentation and --help needs to be updated with _run-background_



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

Reply via email to