You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ad...@apache.org on 2016/01/26 17:17:41 UTC

svn commit: r1726836 - /james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml

Author: aduprat
Date: Tue Jan 26 16:17:40 2016
New Revision: 1726836

URL: http://svn.apache.org/viewvc?rev=1726836&view=rev
Log:
JAMES-1663 Wrap cassandra session spring configuration in Cassandra profile. Contributed by Duprat <an...@gmail.com>

Modified:
    james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml

Modified: james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml
URL: http://svn.apache.org/viewvc/james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml?rev=1726836&r1=1726835&r2=1726836&view=diff
==============================================================================
--- james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml (original)
+++ james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml Tue Jan 26 16:17:40 2016
@@ -28,8 +28,6 @@
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-2.5.xsd">
 
-    <import resource="classpath:META-INF/cassandra-session.xml"/>
-
     <!-- 
     ===========================================================================
        Spring Wiring for James Server: Annotation, Bean Post-Processors...
@@ -287,4 +285,8 @@
     -->
 
 
+    <beans profile="cassandra">
+        <import resource="classpath:META-INF/cassandra-session.xml"/>
+    </beans>
+
 </beans>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org