CamelTestSupport.createRouteBuilder and createRouteBuilders should return the 
interface RoutesBuilder not the abstract class RouteBuilder
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-3772
                 URL: https://issues.apache.org/jira/browse/CAMEL-3772
             Project: Camel
          Issue Type: Improvement
          Components: camel-test
    Affects Versions: 2.6.0
            Reporter: Martin Zachrison
            Priority: Minor


The return type for CamelTestSupport createRouteBuilder and createRouteBuilders 
is the abstract class RouteBuilder instead of the interface RoutesBuilder. The 
result of the createRouteBuilders call is used in the setUp method, 
context.addRoutes(builder) which expects RoutesBuilder so there is no need for 
the create method to return the abstract class RouteBuilder.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to