This is an automated email from the ASF dual-hosted git repository.
JiriOndrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push:
new eafe2d1d86 Fixed grpc test module
eafe2d1d86 is described below
commit eafe2d1d86ce0f5a3f1ac829f2362ed16205abb2
Author: Jiri Ondrusek <[email protected]>
AuthorDate: Mon Aug 3 09:42:12 2026 +0200
Fixed grpc test module
Adapt to CAMEL-24282: toD no longer resolves {{...}} property
placeholders in per-message recipients. Resolve the port property
placeholder in GrpcResource before passing it as a header.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
.../java/org/apache/camel/quarkus/component/grpc/it/GrpcResource.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/integration-tests/grpc/src/main/java/org/apache/camel/quarkus/component/grpc/it/GrpcResource.java
b/integration-tests/grpc/src/main/java/org/apache/camel/quarkus/component/grpc/it/GrpcResource.java
index b680c8d0bb..4e73df82bd 100644
---
a/integration-tests/grpc/src/main/java/org/apache/camel/quarkus/component/grpc/it/GrpcResource.java
+++
b/integration-tests/grpc/src/main/java/org/apache/camel/quarkus/component/grpc/it/GrpcResource.java
@@ -67,8 +67,9 @@ public class GrpcResource {
.setPingName(pingName)
.setPingId(pingId)
.build();
+ final String resolvedPort =
context.resolvePropertyPlaceholders(portPropertyPlaceholder);
final Map<String, Object> headers = Map.of(
- "port", portPropertyPlaceholder,
+ "port", resolvedPort,
GRPC_METHOD_NAME_HEADER, methodName,
"isSync", String.valueOf(synchronous));