james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject svn commit: r1726836 - /james/project/trunk/server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml
Date Tue, 26 Jan 2016 16:17:41 GMT
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 <antduprat@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


Mime
View raw message