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 2020/07/30 14:05:43 UTC

[GitHub] [camel-quarkus] aldettinger opened a new issue #1505: @BindToRegistry not working with @ApplicationScoped route builders

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


   This behaviour could be reproduced in camel-grok itests route by attempting to replace [explicit `bindToRegistry` calls](https://github.com/apache/camel-quarkus/blob/master/integration-tests/grok/src/main/java/org/apache/camel/quarkus/component/grok/it/GrokRoute.java#L32..L34) with `@BindToRegistry`.
   
   The route can't start as @BindToRegistry Grok patterns are not present in the registry when GrokDataFormat.start() is called.
   As far as I could tell, it seems to me that bean post processing never occurs in this scenario. So we may have even more annotations that are not working.
   
   Would one agree it's an issue ? Would adding bean processing in this scenario be the solution ? where/when ?


----------------------------------------------------------------
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] aldettinger commented on issue #1505: @BindToRegistry not working with @ApplicationScoped route builders

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


   Thanks for sharing Luca, I was able to achieve this effect with [qualified producer fields](https://github.com/apache/camel-quarkus/commit/7736d416e0333cb41ce0bbd5652a803ca80a118a).


----------------------------------------------------------------
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 #1505: @BindToRegistry not working with @ApplicationScoped route builders

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


   I think this is expected as back in the earlier days we decided that if you rely on CDi then you should use @Produces as it is more idiomatic 


----------------------------------------------------------------
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] aldettinger closed issue #1505: @BindToRegistry not working with @ApplicationScoped route builders

Posted by GitBox <gi...@apache.org>.
aldettinger closed issue #1505:
URL: https://github.com/apache/camel-quarkus/issues/1505


   


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