Henryk Konsek created CAMEL-6917:
------------------------------------
Summary: [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)