You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/06/15 11:21:26 UTC

[camel-k-runtime] 03/04: Updated NoRoutesCollector to match the updated interface from Camel

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit a370cbe9d4ce2b2fcee5fe570995d170eef76407
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu May 5 12:36:45 2022 +0200

    Updated NoRoutesCollector to match the updated interface from Camel
---
 .../src/main/java/org/apache/camel/k/quarkus/Application.java       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/camel-k-runtime/runtime/src/main/java/org/apache/camel/k/quarkus/Application.java b/camel-k-runtime/runtime/src/main/java/org/apache/camel/k/quarkus/Application.java
index 4950bc45..61676949 100644
--- a/camel-k-runtime/runtime/src/main/java/org/apache/camel/k/quarkus/Application.java
+++ b/camel-k-runtime/runtime/src/main/java/org/apache/camel/k/quarkus/Application.java
@@ -33,6 +33,7 @@ import org.apache.camel.RoutesBuilder;
 import org.apache.camel.main.BaseMainSupport;
 import org.apache.camel.main.MainListener;
 import org.apache.camel.main.RoutesCollector;
+import org.apache.camel.spi.Resource;
 
 public final class Application {
     private Application() {
@@ -150,6 +151,11 @@ public final class Application {
         public List<RoutesBuilder> collectRoutesFromRegistry(CamelContext camelContext, String excludePattern, String includePattern) {
             return Collections.emptyList();
         }
+
+        @Override
+        public Collection<Resource> findRouteResourcesFromDirectory(CamelContext camelContext, String excludePattern, String includePattern) {
+            return Collections.emptyList();
+        }
     }
 
     // *********************************