[jira] [Updated] (CAMEL-17651) RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified

2022-02-15 Thread Claus Ibsen (Jira)


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

Claus Ibsen updated CAMEL-17651:

Priority: Minor  (was: Major)

> RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified
> 
>
> Key: CAMEL-17651
> URL: https://issues.apache.org/jira/browse/CAMEL-17651
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 3.15.0
> Environment: Windows
>Reporter: JP Moresmau
>Priority: Minor
> Fix For: 3.16.0
>
>
> On Windows, the FileFilter fails because we try to split the path using '/'.
> If I don't set a pattern, it's set to null, and pattern.split(',') fails.
> The doc states that the default pattern is \*.yaml,*.xml, so it should be 
> possible not to set a pattern.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (CAMEL-17651) RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified

2022-02-15 Thread JP Moresmau (Jira)


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

JP Moresmau updated CAMEL-17651:

Description: 
On Windows, the FileFilter fails because we try to split the path using '/'.

If I don't set a pattern, it's set to null, and pattern.split(',') fails.

The doc states that the default pattern is \*.yaml,*.xml, so it should be 
possible not to set a pattern.

  was:
On Windows, the FileFilter fails because we try to split the path using '/'.

If I don't set a pattern, it's set to null, and pattern.split(',') fails.

The doc states that the default pattern is *.yaml{*},{*}*.xml, so it should be 
possible not to set a pattern.


> RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified
> 
>
> Key: CAMEL-17651
> URL: https://issues.apache.org/jira/browse/CAMEL-17651
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 3.15.0
> Environment: Windows
>Reporter: JP Moresmau
>Priority: Major
> Fix For: 3.16.0
>
>
> On Windows, the FileFilter fails because we try to split the path using '/'.
> If I don't set a pattern, it's set to null, and pattern.split(',') fails.
> The doc states that the default pattern is \*.yaml,*.xml, so it should be 
> possible not to set a pattern.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)