christophd commented on code in PR #16064:
URL: https://github.com/apache/camel/pull/16064#discussion_r1813135993


##########
components/camel-knative/camel-knative-component/src/main/docs/knative-component.adoc:
##########
@@ -137,13 +137,21 @@ RouteBuilder.addRoutes(context, b -> {
 <1> set the location of the `Knative Environment` file
 <2> expose knative service
 
-=== Using custom Knative Transport
+You can also use property based component configuration to set the `Knative 
Environemnt` configuration file.
 
-As today the component only support `http` as transport as it is the only 
supported protocol on Knative side but the transport is pluggable by 
implementing the following interface:
+.application.properties
+[source,properties]
+----
+camel.component.knative.environmentPath=classpath:knative.json

Review Comment:
   no, this is not a new behavior and it is also working with 
`CAMEL_COMPONENT_KNATIVE_ENVIRONMENT_PATH` envVar



-- 
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