You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/03/09 14:26:38 UTC

[jira] [Assigned] (CAMEL-8293) Be more override-friendly in CamelTestSupport by returning interface type instead of concrete impl

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

Claus Ibsen reassigned CAMEL-8293:
----------------------------------

    Assignee:     (was: Claus Ibsen)

> Be more override-friendly in CamelTestSupport by returning interface type instead of concrete impl
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-8293
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8293
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.14.1
>            Reporter: David J. M. Karlsen
>             Fix For: 3.0.0
>
>
> CamelTestSupport has a 
> protected JndiRegistry createRegistry()
> method.
> It would be better if it returned the Generic type Registry instead - that way you can override the method and return a SimpleRegistry for your tests without having to do this in createCamelContext() which defats createRegistry's purpose.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)