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:
[email protected]


Reply via email to