[ 
https://issues.apache.org/jira/browse/CAMEL-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-3772.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.8.0
         Assignee: Claus Ibsen

We should return the abstract class as its the base for creating routes in Java 
DSL.

> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> 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