[
https://issues.apache.org/jira/browse/CAMEL-6917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812185#comment-13812185
]
Henryk Konsek commented on CAMEL-6917:
--------------------------------------
I've updated the documentation (1) to stress that
{{CamelSpringDelegatingTestContextLoader}} should be preferred over
{{JavaConfigContextLoader}}.
(1) https://cwiki.apache.org/confluence/display/CAMEL/Spring+Java+Config
> [JavaConfig] Deprecate JavaConfigContextLoader
> ----------------------------------------------
>
> Key: CAMEL-6917
> URL: https://issues.apache.org/jira/browse/CAMEL-6917
> Project: Camel
> Issue Type: Task
> Affects Versions: 2.12.1
> Reporter: Henryk Konsek
> Assignee: Henryk Konsek
> Fix For: 2.13.0
>
>
> I propose to deprecate {{JavaConfigContextLoader}} on behalf of the
> {{CamelSpringDelegatingTestContextLoader}}. The latter implements
> {{SmartContextLoader}} and properly handles new features of Spring such as
> configuration classes and {{@ActiveProfiles}} annotation.
> I would like to mark {{JavaConfigContextLoader}} as deprecated and suggest
> users to migrate to {{CamelSpringDelegatingTestContextLoader}}. I would also
> like to update the documentation page to indicate more explicitly that using
> {{CamelSpringDelegatingTestContextLoader}} instead of
> {{JavaConfigContextLoader}} is the proper way to deal with the JavaConfig
> test integration.
> [1] http://camel.apache.org/spring-java-config.html
--
This message was sent by Atlassian JIRA
(v6.1#6144)