Author: jstrachan
Date: Tue Sep 25 03:24:55 2007
New Revision: 579176

URL: http://svn.apache.org/viewvc?rev=579176&view=rev
Log:
added an example integration test of an SA, component and shared library. For 
more details see: http://cwiki.apache.org/SM/integration-testing-in-maven.html

Added:
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/pom.xml   (with 
props)
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringTest.java
   (with props)
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringWithNoVersionsTest.java
   (with props)
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/XBeanTest.java
   (with props)
    incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/log4j-tests.properties
   (with props)
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1-noversions.xml
   (with props)
    
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml
   (with props)
Modified:
    incubator/servicemix/trunk/samples/camel/camel-simple-su/pom.xml
    
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java
    
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/resources/camel-context.xml
    incubator/servicemix/trunk/samples/camel/pom.xml

Added: incubator/servicemix/trunk/samples/camel/camel-sa-itest/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/pom.xml?rev=579176&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/camel/camel-sa-itest/pom.xml (added)
+++ incubator/servicemix/trunk/samples/camel/camel-sa-itest/pom.xml Tue Sep 25 
03:24:55 2007
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.samples</groupId>
+    <artifactId>camel</artifactId>
+    <version>3.2-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.samples</groupId>
+  <artifactId>camel-sa-itest</artifactId>
+  <packaging>itest</packaging>
+  <name>ServiceMix :: Samples :: Camel :: SA :: iTest</name>
+
+  <dependencies>
+<!--
+    <dependency>
+      <groupId>org.apache.servicemix.samples</groupId>
+      <artifactId>camel-simple-su</artifactId>
+      <version>3.2-SNAPSHOT</version>
+    </dependency>
+-->
+    <dependency>
+      <groupId>org.apache.servicemix.samples</groupId>
+      <artifactId>camel-sa</artifactId>
+      <type>zip</type>
+      <version>3.2-SNAPSHOT</version>
+    </dependency>
+
+    <!-- for testing -->
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>3.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+
+      <!--
+       || lets enable the jbi-maven-plugin so that we auto-generate
+       || the META-INF/maven/dependencies.properties file
+       || so that we can auto-infer the versions of the various dependencies
+       -->
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <type>itest</type>
+        </configuration>
+      </plugin>
+
+      <!-- TODO we need to fork perTest for now to avoid kernel errors from 
ServiceMix -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <useFile>true</useFile>
+          <forkMode>perTest</forkMode>
+          <childDelegation>false</childDelegation>
+          <argLine>-Xmx512M</argLine>
+          <workingDirectory>${basedir}</workingDirectory>
+          <systemProperties>
+            <property>
+              <name>log4j.configuration</name>
+              <value>log4j-tests.properties</value>
+            </property>
+          </systemProperties>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/samples/camel/camel-sa-itest/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringTest.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringTest.java?rev=579176&view=auto
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringTest.java
 (added)
+++ 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringTest.java
 Tue Sep 25 03:24:55 2007
@@ -0,0 +1,57 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.test;
+
+import java.util.Properties;
+import java.util.Map;
+import java.util.Set;
+
+import junit.framework.TestCase;
+import org.springframework.context.ConfigurableApplicationContext;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+
+/**
+ * @version $Revision: 1.1 $
+ */
+public class SpringTest extends TestCase {
+    protected ConfigurableApplicationContext applicationContext;
+
+    public void testDeploy() throws Exception {
+        Thread.sleep(5000);
+    }
+
+    @Override
+    protected void setUp() throws Exception {
+        super.setUp();
+        applicationContext = createApplicationContext();
+        assertNotNull("Could not create the applicationContext!", 
applicationContext);
+        applicationContext.start();
+    }
+
+    @Override
+    protected void tearDown() throws Exception {
+        if (applicationContext != null) {
+            applicationContext.stop();
+        }
+        super.tearDown();
+    }
+
+    protected ConfigurableApplicationContext createApplicationContext() throws 
Exception {
+        return new ClassPathXmlApplicationContext("test1.xml");
+    }
+}

Propchange: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringWithNoVersionsTest.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringWithNoVersionsTest.java?rev=579176&view=auto
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringWithNoVersionsTest.java
 (added)
+++ 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringWithNoVersionsTest.java
 Tue Sep 25 03:24:55 2007
@@ -0,0 +1,31 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.test;
+
+import org.springframework.context.ConfigurableApplicationContext;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+
+/**
+ * @version $Revision: 1.1 $
+ */
+public class SpringWithNoVersionsTest extends SpringTest {
+
+    protected ConfigurableApplicationContext createApplicationContext() throws 
Exception {
+        return new ClassPathXmlApplicationContext("test1-noversions.xml");
+    }
+}
\ No newline at end of file

Propchange: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/SpringWithNoVersionsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/XBeanTest.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/XBeanTest.java?rev=579176&view=auto
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/XBeanTest.java
 (added)
+++ 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/XBeanTest.java
 Tue Sep 25 03:24:55 2007
@@ -0,0 +1,31 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.test;
+
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+import org.springframework.context.ConfigurableApplicationContext;
+
+/**
+ * @version $Revision: 1.1 $
+ */
+public class XBeanTest extends SpringTest {
+
+    protected ConfigurableApplicationContext createApplicationContext() throws 
Exception {
+        return new ClassPathXmlApplicationContext("test1.xml");
+    }
+}
\ No newline at end of file

Propchange: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/java/org/apache/servicemix/test/XBeanTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/log4j-tests.properties
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/log4j-tests.properties?rev=579176&view=auto
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/log4j-tests.properties
 (added)
+++ 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/log4j-tests.properties
 Tue Sep 25 03:24:55 2007
@@ -0,0 +1,43 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed  under the  License is distributed on an "AS IS" BASIS,
+# WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+#
+# The logging properties used during tests..
+#
+log4j.rootLogger=INFO, out
+
+log4j.logger.org.springframework=INFO
+log4j.logger.org.apache.activemq=INFO
+log4j.logger.org.apache.activemq.spring=WARN
+
+#log4j.logger.org.apache.camel=DEBUG
+#log4j.logger.org.apache.servicemix=DEBUG
+
+# CONSOLE appender
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} 
- %m%n
+
+# File appender
+log4j.appender.out=org.apache.log4j.FileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - 
%m%n
+log4j.appender.out.file=target/camel-test.log
+log4j.appender.out.append=true

Propchange: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/log4j-tests.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1-noversions.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1-noversions.xml?rev=579176&view=auto
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1-noversions.xml
 (added)
+++ 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1-noversions.xml
 Tue Sep 25 03:24:55 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns:sm="http://servicemix.apache.org/config/1.0";
+       xsi:schemaLocation="
+         http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+         http://servicemix.apache.org/config/1.0 
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd";>
+
+
+  <sm:container generateRootDir="true">
+
+    <sm:deployments>
+      <sm:installSharedLibrary groupId="org.apache.servicemix" 
artifactId="servicemix-shared"/>
+      <sm:installComponent groupId="org.apache.servicemix" 
artifactId="servicemix-camel"/>
+      <sm:deployServiceAssembly groupId="org.apache.servicemix.samples" 
artifactId="camel-sa"/>
+    </sm:deployments>
+
+  </sm:container>
+
+</beans>

Propchange: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1-noversions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml?rev=579176&view=auto
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml
 (added)
+++ 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml
 Tue Sep 25 03:24:55 2007
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+  <beans xmlns="http://www.springframework.org/schema/beans";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xmlns:sm="http://servicemix.apache.org/config/1.0";
+         xsi:schemaLocation="
+         http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+         http://servicemix.apache.org/config/1.0 
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd";>
+
+  <sm:container generateRootDir="true">
+
+    <sm:deployments>
+      <sm:installSharedLibrary groupId="org.apache.servicemix" 
artifactId="servicemix-shared" version="3.2-SNAPSHOT"/>
+      <sm:installComponent groupId="org.apache.servicemix" 
artifactId="servicemix-camel" version="3.2-SNAPSHOT"/>
+      <sm:deployServiceAssembly groupId="org.apache.servicemix.samples" 
artifactId="camel-sa" version="3.2-SNAPSHOT"/>
+    </sm:deployments>
+
+  </sm:container>
+
+</beans>

Propchange: 
incubator/servicemix/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/samples/camel/camel-simple-su/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-simple-su/pom.xml?rev=579176&r1=579175&r2=579176&view=diff
==============================================================================
--- incubator/servicemix/trunk/samples/camel/camel-simple-su/pom.xml (original)
+++ incubator/servicemix/trunk/samples/camel/camel-simple-su/pom.xml Tue Sep 25 
03:24:55 2007
@@ -65,10 +65,12 @@
         <extensions>true</extensions>
       </plugin>
       <!-- allows the route to be ran via 'mvn camel:run' -->
+<!--
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>
       </plugin>
+-->
     </plugins>
   </build>
 </project>

Modified: 
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java?rev=579176&r1=579175&r2=579176&view=diff
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java
 (original)
+++ 
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java
 Tue Sep 25 03:24:55 2007
@@ -16,6 +16,8 @@
  */
 package org.apache.servicemix.samples;
 
+import org.apache.camel.Exchange;
+import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 
 /**
@@ -27,6 +29,7 @@
     public void configure() throws Exception {
 
            from("timer:myTimerEvent?fixedRate=true")
-                       .setBody(constant("Hello 
World!")).to("log:org.apache.servicemix.samples.camel.ExampleCamelRoute");
+                       .setBody(constant("Hello World!")).
+                               
to("log:org.apache.servicemix.samples.camel.ExampleCamelRoute");
     }
 }

Modified: 
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/resources/camel-context.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/resources/camel-context.xml?rev=579176&r1=579175&r2=579176&view=diff
==============================================================================
--- 
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/resources/camel-context.xml
 (original)
+++ 
incubator/servicemix/trunk/samples/camel/camel-simple-su/src/main/resources/camel-context.xml
 Tue Sep 25 03:24:55 2007
@@ -24,7 +24,7 @@
        http://activemq.apache.org/camel/schema/spring 
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
     ">
 
-         <camelContext xmlns="http://activemq.apache.org/camel/schema/spring";>
+         <camelContext useJmx="true" 
xmlns="http://activemq.apache.org/camel/schema/spring";>
            <package>org.apache.servicemix.samples</package>
          </camelContext>
 

Modified: incubator/servicemix/trunk/samples/camel/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/camel/pom.xml?rev=579176&r1=579175&r2=579176&view=diff
==============================================================================
--- incubator/servicemix/trunk/samples/camel/pom.xml (original)
+++ incubator/servicemix/trunk/samples/camel/pom.xml Tue Sep 25 03:24:55 2007
@@ -35,6 +35,7 @@
     <modules>
       <module>camel-simple-su</module>
       <module>camel-sa</module>
+      <module>camel-sa-itest</module>
     </modules>
 
     <!-- Add ServiceMix repositories for snaphots and releases -->


Reply via email to