You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/01/28 09:13:32 UTC

[GitHub] [camel-quarkus] davsclaus opened a new issue #2176: Build time optimize HeaderSelectorProducer

davsclaus opened a new issue #2176:
URL: https://github.com/apache/camel-quarkus/issues/2176


   Some Camel components uses HeaderSelectorProducer which does use reflection to discover annotations on methods on the producer class.
   
   We can use camel quarkus to do build time optimization by scanning for those annotations (such as InvokeOnHeaders) and then pre configure this on the producer.
   
   This may require changes in camel-core in the HeaderSelectorProducer to support such use-case.
   This will also help native mode as there are no reflection and we can likely remove such rules for the extensions that uses this header selector producer.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel-quarkus] lburgazzoli commented on issue #2176: Build time optimize HeaderSelectorProducer

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #2176:
URL: https://github.com/apache/camel-quarkus/issues/2176#issuecomment-768983011


   @davsclaus maybe we can do some code generation (which we like a lot) on camel side so every runtime can benefit from it


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel-quarkus] davsclaus commented on issue #2176: Build time optimize HeaderSelectorProducer

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #2176:
URL: https://github.com/apache/camel-quarkus/issues/2176#issuecomment-769023590


   Created a ticket
   https://issues.apache.org/jira/browse/CAMEL-16102
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel-quarkus] davsclaus commented on issue #2176: Build time optimize HeaderSelectorProducer

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #2176:
URL: https://github.com/apache/camel-quarkus/issues/2176#issuecomment-769022679


   Yeah we can make the camel maven plugin do that - there is about 6 or so components using this


----------------------------------------------------------------
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:
users@infra.apache.org