[ 
https://issues.apache.org/jira/browse/CAMEL-23293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Hartl updated CAMEL-23293:
--------------------------------
    Description: 
According to the documentation the '--dev' flag should also allow hot-reload 
when using the Quarkus runtime.

However when I run a route with the following command the hot-reload hence 
dev-mode doesn't work.

{{camel run --dev --runtime=quarkus testroute.camel.yaml}}

I did see that a temp-directory within '.camel-jabng-run' is created which 
contains the route. Also the Quarkus project itself is run with the 
'quarkus:dev' target as changing the file 
'.camel-jabng-run/.../src/main/resources/camel/testroute.camel.yaml' does 
auto-reload.

But it seems the 'testroute.camel.yaml' isn't synced into the 
'.camel-jabng-run/.../src/main/resources/camel' directory on change.

  was:
According to the documentation the '--dev' flag should also allow hot-reload 
when using the Quarkus runtime.

However when I run a route with the following command the hot-reload hence 
dev-mode doesn't work.

{{camel run --dev --runtime=quarkus testroute.camel.yaml}}

I did see that a temp-directory within `.camel-jabng-run` is created which 
contains the route. Also the Quarkus project itself is run with the 
`quarkus:dev` target as changing the file 
`.camel-jabng-run/.../src/main/resources/camel/testroute.camel.yaml` does 
auto-reload.

But it seems the `testroute.camel.yaml` isn't synced into the 
`.camel-jabng-run/.../src/main/resources/camel` directory on change.


> [camel-jbang] Files are not synched in dev-mode with Quarkus runtime
> --------------------------------------------------------------------
>
>                 Key: CAMEL-23293
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23293
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.18.1
>            Reporter: Simon Hartl
>            Priority: Major
>
> According to the documentation the '--dev' flag should also allow hot-reload 
> when using the Quarkus runtime.
> However when I run a route with the following command the hot-reload hence 
> dev-mode doesn't work.
> {{camel run --dev --runtime=quarkus testroute.camel.yaml}}
> I did see that a temp-directory within '.camel-jabng-run' is created which 
> contains the route. Also the Quarkus project itself is run with the 
> 'quarkus:dev' target as changing the file 
> '.camel-jabng-run/.../src/main/resources/camel/testroute.camel.yaml' does 
> auto-reload.
> But it seems the 'testroute.camel.yaml' isn't synced into the 
> '.camel-jabng-run/.../src/main/resources/camel' directory on change.



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

Reply via email to