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/09/24 11:00:12 UTC

[GitHub] [camel] lburgazzoli commented on pull request #4285: CAMEL-15573: camel-main: support LambdaRouteBuilder

lburgazzoli commented on pull request #4285:
URL: https://github.com/apache/camel/pull/4285#issuecomment-698272807


   > with the different set of route builders wonder if we just want to make it overloaded method
   > 
   > addRouteBuilder(RouteBuilder)
   > addRouteBuilder(LambdaRouteBuilder)
   > 
   > withRouteBuilder(RouteBuilder)
   > withRouteBuilder(LambdaRouteBuilder)
   
   I did try but then the call is ambiguous as booth are functional interfaces so in case of a `LambdaRouteBuilder`, then you need to explicit cast.


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