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

Henryk Konsek commented on CAMEL-6917:
--------------------------------------

Added @deprecation information in revision 
cbd6a21ce344b0e9b40ac80677f5afadcfc1ac06.

> [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)

Reply via email to