You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/12/01 16:14:05 UTC
[jira] Commented: (CAMEL-1128) create some Spring Test examples
using the JavaConfig mechanism in Spring
[ https://issues.apache.org/activemq/browse/CAMEL-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47759#action_47759 ]
James Strachan commented on CAMEL-1128:
---------------------------------------
I've hacked up an example test case using Spring Test along with Spring Java Config here
https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring-javaconfig/
e.g.
https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/examples/
here's the test case
https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/examples/FilterTest.java
the configuration is here
https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/examples/FilterConfig.java
Unfortunately it doesn't currently work :( due to a bug where BeanPostProcessors don't seem to be invoked on test classes
http://jira.springframework.org/browse/SJC-248
once this is fixed then hopefully we can enable this component and document it on the wiki
> create some Spring Test examples using the JavaConfig mechanism in Spring
> -------------------------------------------------------------------------
>
> Key: CAMEL-1128
> URL: https://issues.apache.org/activemq/browse/CAMEL-1128
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: James Strachan
> Assignee: James Strachan
> Fix For: 2.0.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.