Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21126

camel-jbang - Using source-dir and dropping a non route file causes reload issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.8.0
    • camel-jbang
    • None
    • Unknown

    Description

      2024-08-28 09:54:16.095 INFO 25130 — [ ReloadOnDemand] camel.support.RouteWatcherReloadStrategy : Reloading properties: file:reload-csv2/application.properties. (Only Camel routes and components can be updated with changes)
      2024-08-28 09:54:16.103 WARN 25130 — [ ReloadOnDemand] amel.support.RouteOnDemandReloadStrategy : Error reloading routes due to Cannot find RoutesBuilderLoader in classpath supporting file extension: csv. This exception is ignored.
      java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: csv
      at org.apache.camel.impl.engine.DefaultRoutesLoader.resolveRoutesBuilderLoader(DefaultRoutesLoader.java:319) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:124) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:101) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.impl.engine.DefaultRoutesLoader.updateRoutes(DefaultRoutesLoader.java:292) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.support.RouteWatcherReloadStrategy.onRouteReload(RouteWatcherReloadStrategy.java:290) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.support.RouteOnDemandReloadStrategy.doOnReload(RouteOnDemandReloadStrategy.java:114) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.support.RouteOnDemandReloadStrategy.onReload(RouteOnDemandReloadStrategy.java:74) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at org.apache.camel.impl.console.ReloadDevConsole.lambda$doCallJson$1(ReloadDevConsole.java:102) ~[camel-console-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
      at java.base/java.lang.Thread.run(Thread.java:840) [?:?]

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: