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 (Commented) (JIRA)" <ji...@apache.org> on 2011/11/26 12:01:52 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=13157434#comment-13157434 ]
Claus Ibsen commented on CAMEL-4538:
------------------------------------
To use SimpleRegistry, you override createCamelContext instead and create a context with the simple registry.
> 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
>
> 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