This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 7c6b17bbdfe54fafc6e1ad43b206be6d848b22cd Author: James Netherton <[email protected]> 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())) {
