camel-issues mailing list archives

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


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:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-test
>    Affects Versions: 2.10.1
>            Reporter: Benjamin Graf
>            Priority: Minor
>         Attachments: CAMEL-5611.patch,
> If you configure the jndiregistry in a unit test produced by CamelInitialContextFactory
via 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:

View raw message