davsclaus commented on a change in pull request #6226:
URL: https://github.com/apache/camel/pull/6226#discussion_r724702359



##########
File path: 
components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpComponent.java
##########
@@ -191,7 +191,7 @@ public Producer createProducer(
         // the component, one such case is when we switch from "http" to 
"https" component name
         RestProducerFactoryHelper.setupComponentFor(url, camelContext, 
(Map<String, Object>) parameters.remove("component"));
 
-        VertxHttpEndpoint endpoint = camelContext.getEndpoint(url, 
VertxHttpEndpoint.class);
+        VertxHttpEndpoint endpoint = (VertxHttpEndpoint) 
camelContext.getEndpoint(url, parameters);

Review comment:
       You forgot to remove setProperties below




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to