You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/08/31 10:57:29 UTC
[camel] branch rest-known-3x2 created (now 90128236782)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch rest-known-3x2
in repository https://gitbox.apache.org/repos/asf/camel.git
at 90128236782 CAMEL-19814: camel-rest - Should filter out query parameters that are for the producer endpoint
This branch includes the following new commits:
new 90128236782 CAMEL-19814: camel-rest - Should filter out query parameters that are for the producer endpoint
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel] 01/01: CAMEL-19814: camel-rest - Should filter out query parameters that are for the producer endpoint
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch rest-known-3x2
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 901282367822f7204141171fdbe5e36dcad22e62
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Aug 31 12:57:13 2023 +0200
CAMEL-19814: camel-rest - Should filter out query parameters that are for the producer endpoint
---
.../src/main/java/org/apache/camel/component/rest/RestComponent.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestComponent.java b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestComponent.java
index fd29c7e8e34..1610f221b97 100644
--- a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestComponent.java
+++ b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestComponent.java
@@ -20,6 +20,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.camel.Endpoint;
+import org.apache.camel.ExtendedCamelContext;
import org.apache.camel.component.extension.ComponentVerifierExtension;
import org.apache.camel.spi.EndpointUriFactory;
import org.apache.camel.spi.Metadata;
@@ -209,7 +210,7 @@ public class RestComponent extends DefaultComponent {
private EndpointUriFactory getEndpointUriFactory(String name) {
if (name != null) {
UriFactoryResolver resolver
- = getCamelContext().getCamelContextExtension().getContextPlugin(UriFactoryResolver.class);
+ = getCamelContext().adapt(ExtendedCamelContext.class).getUriFactoryResolver();
if (resolver != null) {
return resolver.resolveFactory(name, getCamelContext());
}