You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Bilgin Ibryam (Commented) (JIRA)" <ji...@apache.org> on 2012/01/12 15:05:39 UTC
[jira] [Commented] (CAMEL-4538) Make CamelTestSupport return
Registry instead of JndiRegistry in createRegistry method
[ 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