You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2026/09/09 12:23:49 UTC
(camel-spring-boot-examples) branch main updated: Fix rest-cxf example: use CamelCxfOperationName for dynamic bean dispatch
This is an automated email from the ASF dual-hosted git repository.
Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 5ab8722b Fix rest-cxf example: use CamelCxfOperationName for dynamic bean dispatch
5ab8722b is described below
commit 5ab8722bde238477f0ef96bda4d3876410f5bd74
Author: Federico Mariani <34...@users.noreply.github.com>
AuthorDate: Wed Sep 9 14:23:43 2026 +0200
Fix rest-cxf example: use CamelCxfOperationName for dynamic bean dispatch
---
.../main/java/org/apache/camel/example/springboot/cxf/CamelRouter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rest-cxf/src/main/java/org/apache/camel/example/springboot/cxf/CamelRouter.java b/rest-cxf/src/main/java/org/apache/camel/example/springboot/cxf/CamelRouter.java
index a18ce18e..86964885 100644
--- a/rest-cxf/src/main/java/org/apache/camel/example/springboot/cxf/CamelRouter.java
+++ b/rest-cxf/src/main/java/org/apache/camel/example/springboot/cxf/CamelRouter.java
@@ -43,7 +43,7 @@ public class CamelRouter extends RouteBuilder {
"&loggingFeatureEnabled=true")
.to("bean-validator:user")
.to("log:camel-cxf-log?showAll=true")
- .toD("bean:userServiceImpl?method=${header.operationName}");
+ .toD("bean:userServiceImpl?method=${header.CamelCxfOperationName}");
// @formatter:on
}