camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bilgin Ibryam (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4538) Make CamelTestSupport return Registry instead of JndiRegistry in createRegistry method
Date Thu, 12 Jan 2012 14:05:39 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184973#comment-13184973
] 

Bilgin Ibryam commented on CAMEL-4538:
--------------------------------------

I think I got it wrong because if we replace JndiRegistry with Registry in createRegistry
method, then we have to cast it back to JndiRegistry in all the test, because Registry doesn't
have a bind/put method and it is used in all the tests.

May be replacing JndiRegistry with SimpleRegistry is the intend of this issue?
                
> Make CamelTestSupport return Registry instead of JndiRegistry in createRegistry method
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4538
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4538
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.8.0
>            Reporter: Maciej Prochniak
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-4538, CAMEL-4538-v2
>
>
> Usually when we write camel unit tests we want to use SimpleRegistry, not JndiRegistry

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message