ppalaga commented on a change in pull request #1012: Workaround for the platform http not be able to handle matchOnUriPrefix URL: https://github.com/apache/camel-quarkus/pull/1012#discussion_r401856825
########## File path: extensions/platform-http/runtime/src/main/java/org/apache/camel/quarkus/component/platform/http/runtime/PlatformHttpRecorder.java ########## @@ -37,7 +39,20 @@ } public RuntimeValue<PlatformHttpComponent> createComponent(RuntimeValue<PlatformHttpEngine> engine) { - PlatformHttpComponent component = new PlatformHttpComponent(); + PlatformHttpComponent component = new PlatformHttpComponent() { + @Override + protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception { + // remove matchOnUriPrefix as it will be fixed by camel 3.2 but will cause the context + // to fail as the property cannot be bound to the enpoint. + // + // TODO: remove once migrating to camel 3.2 + parameters.remove("matchOnUriPrefix"); Review comment: Shouldn't we warn at least that matchOnUriPrefix is ignored? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services