camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Graf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5611) Issue with JndiContext in camel tests
Date Fri, 14 Sep 2012 12:14:09 GMT

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

Benjamin Graf commented on CAMEL-5611:
--------------------------------------

That's why I wrote the new class CamelInitialContextTestSupport to offer a second factory
especially for unit testing. I never intended to patch the original CamelInitialContextFactory
as has been done by your patch adaption.
                
> Issue with JndiContext in camel tests
> -------------------------------------
>
>                 Key: CAMEL-5611
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5611
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-test
>    Affects Versions: 2.10.1
>            Reporter: Benjamin Graf
>            Priority: Minor
>         Attachments: CAMEL-5611.patch, cameljnditest.zip
>
>
> If you configure the jndiregistry in a unit test produced by CamelInitialContextFactory
via jndi.properties you'll always get a new empty JndiContext if any library or component
in between does a new InitialContext() call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message