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

Claus Ibsen updated CAMEL-25425:
--------------------------------
    Description: 
Examples started from the camel-jbang monitor are extracted into temp folders 
(camel-example-*). When the monitor quits, these folders are emptied, while the 
example apps keep running (the quit confirmation says integrations keep 
running). A dev-mode app then sees its files go:

{noformat}
Reload failed due to: Greeter.java does not exist. The previous routes were 
restored (0 route(s) running ...)
{noformat}

and ends with 0 routes; its sources are gone for the next monitor too. The 
cleanup should only remove the folder of an example whose app has stopped (or 
stop the app first when the user asks). Also the folders themselves are left 
behind (215 empty camel-example-* folders after a day of use).

  was:
Examples started from the camel-jbang monitor (camel tui) are extracted into 
temp folders (camel-example-*). When the monitor quits, these folders are 
emptied, while the example apps keep running (the quit confirmation says 
integrations keep running). A dev-mode app then sees its files go:

{noformat}
Reload failed due to: Greeter.java does not exist. The previous routes were 
restored (0 route(s) running ...)
{noformat}

and ends with 0 routes; its sources are gone for the next monitor too. The 
cleanup should only remove the folder of an example whose app has stopped (or 
stop the app first when the user asks). Also the folders themselves are left 
behind (215 empty camel-example-* folders after a day of use).


> camel-jbang - Quitting the monitor deletes the files of examples that are 
> still running
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-25425
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25425
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.23.0
>
>
> Examples started from the camel-jbang monitor are extracted into temp folders 
> (camel-example-*). When the monitor quits, these folders are emptied, while 
> the example apps keep running (the quit confirmation says integrations keep 
> running). A dev-mode app then sees its files go:
> {noformat}
> Reload failed due to: Greeter.java does not exist. The previous routes were 
> restored (0 route(s) running ...)
> {noformat}
> and ends with 0 routes; its sources are gone for the next monitor too. The 
> cleanup should only remove the folder of an example whose app has stopped (or 
> stop the app first when the user asks). Also the folders themselves are left 
> behind (215 empty camel-example-* folders after a day of use).



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

Reply via email to