ppalaga commented on issue #878: Update to introduce the quarkus qute extension
URL: https://github.com/apache/camel-quarkus/pull/878#issuecomment-599385838
 
 
   > @ppalaga I added the changes to inject the `Engine quteEngine` when 
running inside the quarkus. It works well and I also want to implement the 
validate the template file during the `BUILDING_TIME` which I think it needs to 
query the `uri of the Endponints` to see if it is just like `to(qute:hello)` 
and extract the `hello` URI. Then it could be checked by the `Qute` to see the 
templeate files is valid or not.
   > 
   > So my question is is there any method from the `camel core engine` to get 
the URI of the endpoints during BUILDING_TIME ?
   
   AFAIC @gnodet works on a refactoring in Camel that may make this possible. 
So the answer is no, it is not possible ATM. 
   
   How other extensions are solving this? They typically have one or more 
application.properties config options to define the set of input files for this 
kind of processing. E.g. the XSLT extension has `sources` 
https://github.com/apache/camel-quarkus/blob/master/extensions/xslt/runtime/src/main/java/org/apache/camel/quarkus/component/xslt/CamelXsltConfig.java#L32
 that are read in the processor 
https://github.com/apache/camel-quarkus/blob/master/extensions/xslt/deployment/src/main/java/org/apache/camel/quarkus/component/xslt/deployment/XsltProcessor.java#L94-L113

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

Reply via email to