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

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

commit 66c25c8fa72fd71639a8081ac33208ab2a3be5f9
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Fri Apr 30 09:03:37 2021 +0100

    Adapt to latest Camel API changes
---
 .../runtime/src/main/java/org/apache/camel/quarkus/core/BaseModel.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/BaseModel.java
 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/BaseModel.java
index df3c89a..ddb0d15 100644
--- 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/BaseModel.java
+++ 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/BaseModel.java
@@ -406,7 +406,7 @@ public abstract class BaseModel implements Model {
     public ProcessorDefinition getProcessorDefinition(String id) {
         for (RouteDefinition route : getRouteDefinitions()) {
             Iterator<ProcessorDefinition> it = 
ProcessorDefinitionHelper.filterTypeInOutputs(route.getOutputs(),
-                    ProcessorDefinition.class);
+                    ProcessorDefinition.class).iterator();
             while (it.hasNext()) {
                 ProcessorDefinition proc = it.next();
                 if (id.equals(proc.getId())) {

Reply via email to