You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/09/02 11:15:29 UTC

svn commit: r810430 - in /camel/trunk: apache-camel/ examples/ examples/camel-example-management/ examples/camel-example-management/src/ examples/camel-example-management/src/main/ examples/camel-example-management/src/main/data/ examples/camel-example...

Author: davsclaus
Date: Wed Sep  2 09:15:27 2009
New Revision: 810430

URL: http://svn.apache.org/viewvc?rev=810430&view=rev
Log:
CAMEL-1933: Overhaul of JMX. Added basic management example.

Added:
    camel/trunk/examples/camel-example-management/
    camel/trunk/examples/camel-example-management/README.txt   (with props)
    camel/trunk/examples/camel-example-management/build.xml   (with props)
    camel/trunk/examples/camel-example-management/pom.xml   (with props)
    camel/trunk/examples/camel-example-management/src/
    camel/trunk/examples/camel-example-management/src/main/
    camel/trunk/examples/camel-example-management/src/main/data/
    camel/trunk/examples/camel-example-management/src/main/data/message.xml   (with props)
    camel/trunk/examples/camel-example-management/src/main/java/
    camel/trunk/examples/camel-example-management/src/main/java/org/
    camel/trunk/examples/camel-example-management/src/main/java/org/apache/
    camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/
    camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/
    camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/
    camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java   (with props)
    camel/trunk/examples/camel-example-management/src/main/resources/
    camel/trunk/examples/camel-example-management/src/main/resources/META-INF/
    camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/
    camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml   (with props)
    camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties   (with props)
Modified:
    camel/trunk/apache-camel/pom.xml
    camel/trunk/examples/pom.xml
    camel/trunk/parent/pom.xml

Modified: camel/trunk/apache-camel/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/apache-camel/pom.xml?rev=810430&r1=810429&r2=810430&view=diff
==============================================================================
--- camel/trunk/apache-camel/pom.xml (original)
+++ camel/trunk/apache-camel/pom.xml Wed Sep  2 09:15:27 2009
@@ -277,6 +277,10 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
+      <artifactId>camel-example-management</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
       <artifactId>camel-example-jms-file</artifactId>
     </dependency>
     <dependency>

Added: camel/trunk/examples/camel-example-management/README.txt
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/README.txt?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/README.txt (added)
+++ camel/trunk/examples/camel-example-management/README.txt Wed Sep  2 09:15:27 2009
@@ -0,0 +1,94 @@
+Camel JMX Management
+====================
+
+This example shows how to manage Camel using JMX (with jconsole)
+It can be run using Maven.
+
+The example uses a timer to every 5th second to generate a file with 100 stock quotes.
+
+Another route uses a file consumer to read the files and split the file and send every single
+stock quote to a JMS queue.
+
+Then a third route consumes from this JMS queue and simulate a little CPU heavy work (by delaying)
+before the data is transformed and logged. The logger will log the progress by logging how
+long time it takes to process 100 messages.
+
+Now the idea is to use the Camel JMX management to be able to adjust this during runtime.
+What it allows you to do is to improve the performance of this example.
+
+At first there is a throttler that will throttle how fast Camel sends message to the JMS queue.
+For starters you can change this at runtime from the default 10 msg/sec to 500 msg/sec etc.
+This is done by changing the JMX attribute maximumRequestsPerPeriod on the throttler in the /producer group.
+
+The next issue is that the JMS consumer now cannot catch up and you should see that the number of messages
+on the JMS queue grows a little by little. You can find the queue from the ActiveMQ mbean and drill down under /queues.
+
+If this goes a bit to slow you can increase the first route in Camel to produce files faster. This is done by
+changing the period in the timer endpoint from 5000 to let say 2000. Before this takes effect you have to
+restart the timer consumer. So find the timer consumer and invoke the stop and start JMX operation.
+
+Now you should see the messages start to pile up in the JMS queue.
+What we do next is to increase the number of concurrent consumers. To do that you have to set this on the JMS
+endpoint. Set the concrrentConsumers from 1 to 20. And just as the timer consumer this only takes effect when
+the JMS consumer is restarted. So do a stop and start operation.
+
+What you should see is that Camel should be able to process the files much faster now and the logger should
+output a higher throughput.
+
+
+
+You will need to compile this example first:
+  mvn compile
+
+To run the example type
+  mvn camel:run
+
+
+To use jconsole type
+  jconsole
+
+And you should be able to see a process id in the connect to agent tab.
+If its there then click in and you should be connected to the Camel application.
+If its missing you can click on the advanced tab and type in JMX URL:
+  service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel
+  (some older versions of Java does not list the local processes)
+
+
+To run the example with Ant
+  a. You need to have Apache ActiveMQ installed. It can be downloaded from
+    http://activemq.apache.org/
+
+  b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ intall
+  directory
+    UNIX
+    export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
+    Windows
+    set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
+
+  c. To Run the example using Ant, type
+    ant
+
+You can see the routing rules by looking at the java code in the
+src/main/java directory and the Spring XML configuration lives in
+src/main/resources/META-INF/spring
+
+To stop the example hit ctrl + c
+
+To use log4j as the logging framework add this to the pom.xml:
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+    </dependency>
+and log4j.properties is located in src/main/resources
+
+For the latest & greatest documentation on how to use this example please see
+  http://camel.apache.org/management-example.html
+
+If you hit any problems please talk to us on the Camel Forums
+  http://camel.apache.org/discussion-forums.html
+
+Please help us make Apache Camel better - we appreciate any feedback you
+may have.  Enjoy!
+
+------------------------
+The Camel riders!

Propchange: camel/trunk/examples/camel-example-management/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: camel/trunk/examples/camel-example-management/build.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/build.xml?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/build.xml (added)
+++ camel/trunk/examples/camel-example-management/build.xml Wed Sep  2 09:15:27 2009
@@ -0,0 +1,44 @@
+<?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 name="camel-example-management" default="run" basedir=".">
+
+  <import file="../common_build.xml"/>
+
+  <fail unless="env.SPRING_HOME" message="You must download Spring Framework and set your SPRING_HOME to run this demo."/>
+  <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
+
+  <property name="project.name" value="camel-example-management"/>
+
+  <path id="sample.build.classpath">
+    <fileset dir="${camel.lib}">
+      <include name="**/camel-jms-*.jar"/>
+      <exclude name="**/*-tests.jar"/>
+    </fileset>
+    <path refid="spring.classpath"/>
+    <path refid="camel.spring.classpath"/>
+    <path refid="activemq.classpath"/>
+  </path>
+
+  <target name="run" depends="build" description="Compile and run the sample">
+    <camelrun>
+    </camelrun>
+  </target>
+
+</project>

Propchange: camel/trunk/examples/camel-example-management/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/build.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-management/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: camel/trunk/examples/camel-example-management/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/pom.xml?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/pom.xml (added)
+++ camel/trunk/examples/camel-example-management/pom.xml Wed Sep  2 09:15:27 2009
@@ -0,0 +1,91 @@
+<?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.camel</groupId>
+        <artifactId>examples</artifactId>
+        <version>2.1-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>camel-example-management</artifactId>
+    <packaging>bundle</packaging>
+    <name>Camel :: Example :: Management</name>
+    <description>An example for showing Camel JMX management</description>
+
+    <properties>
+        <camel.osgi.export.pkg>org.apache.camel.example.management.*</camel.osgi.export.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-spring</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-jms</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.activemq</groupId>
+            <artifactId>activemq-camel</artifactId>
+            <version>5.2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+        </dependency>
+
+        <!-- for testing -->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <!-- Allows the routes to be run via 'mvn camel:run' -->
+            <plugin>
+                <groupId>org.apache.camel</groupId>
+                <artifactId>camel-maven-plugin</artifactId>
+                <version>${pom.version}</version>
+            </plugin>
+        </plugins>
+    </build>
+
+    <reporting>
+        <plugins>
+            <!-- Generates nice PNG / SVG diagrams from our routes -->
+            <plugin>
+                <groupId>org.apache.camel</groupId>
+                <artifactId>camel-maven-plugin</artifactId>
+                <version>${pom.version}</version>
+            </plugin>
+        </plugins>
+    </reporting>
+
+</project>

Propchange: camel/trunk/examples/camel-example-management/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-management/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: camel/trunk/examples/camel-example-management/src/main/data/message.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/src/main/data/message.xml?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/src/main/data/message.xml (added)
+++ camel/trunk/examples/camel-example-management/src/main/data/message.xml Wed Sep  2 09:15:27 2009
@@ -0,0 +1,20 @@
+<?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.
+-->
+<person>
+    <name>Claus</name>
+</person>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-management/src/main/data/message.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/src/main/data/message.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-management/src/main/data/message.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java (added)
+++ camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java Wed Sep  2 09:15:27 2009
@@ -0,0 +1,73 @@
+/**
+ * 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.camel.example.management;
+
+import java.util.List;
+import java.util.Map;
+import java.util.Random;
+import java.util.concurrent.ConcurrentHashMap;
+
+import org.apache.camel.language.XPath;
+
+/**
+ * @version $Revision$
+ */
+public class StockService {
+
+    private List<String> symbols;
+    private Map<String, Integer> stat = new ConcurrentHashMap<String, Integer>();
+
+    public String transform(@XPath("/stock/symbol/text()") String symbol, @XPath("/stock/value/text()") String value) {
+        Integer hits = stat.get(symbol);
+        if (hits == null) {
+            hits = 1;
+        } else {
+            hits++;
+        }
+        stat.put(symbol, hits);
+
+        return symbol + "@" + hits;
+    }
+
+    public String getHits() {
+        return stat.toString();
+    }
+
+    public String createRandomStocks() {
+        Random ran = new Random();
+
+        StringBuilder xml = new StringBuilder();
+        xml.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
+        xml.append("<stocks>\n");
+        for (int i = 0; i < 100; i++) {
+            int winner = ran.nextInt(symbols.size());
+            String symbol = symbols.get(winner);
+            int value = ran.nextInt(1000);
+            xml.append("<stock>");
+            xml.append("<symbol>").append(symbol).append("</symbol>");
+            xml.append("<value>").append(value).append("</value>");
+            xml.append("</stock>\n");
+        }
+        xml.append("</stocks>");
+
+        return xml.toString();
+    }
+
+    public void setSymbols(List<String> symbols) {
+        this.symbols = symbols;
+    }
+}

Propchange: camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/src/main/java/org/apache/camel/example/management/StockService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml (added)
+++ camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml Wed Sep  2 09:15:27 2009
@@ -0,0 +1,69 @@
+<?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:u="http://www.springframework.org/schema/util"
+       xsi:schemaLocation="
+            http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+            http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
+
+    <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
+        <property name="brokerURL" value="vm://localhost?broker.persistent=false"/>
+    </bean>
+
+    <bean id="stock" class="org.apache.camel.example.management.StockService">
+        <property name="symbols" ref="symbols"/>
+    </bean>
+
+    <u:list id="symbols" value-type="java.lang.String">
+        <value>IBM</value>
+        <value>APPLE</value>
+        <value>JAVA</value>
+    </u:list>
+
+    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
+        <!-- Default JMX connector url: "service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel" -->
+        <jmxAgent id="agent" createConnector="true"/>
+
+        <route>
+            <from uri="timer://inbox?period=5000"/>
+            <bean ref="stock" method="createRandomStocks"/>
+            <to uri="file://target/inbox"/>
+        </route>
+
+        <route>
+            <from uri="file://target/inbox"/>
+            <split>
+                <xpath>/stocks/stock</xpath>
+                <throttle timePeriodMillis="1000" maximumRequestsPerPeriod="10"/>
+                <to uri="activemq:queue:stock"/>
+            </split>
+        </route>
+
+        <route>
+            <from uri="activemq:queue:stock"/>
+            <delay><constant>100</constant></delay>
+            <bean ref="stock" method="transform"/>
+            <to uri="log:stocks?groupSize=100"/>
+        </route>
+
+    </camelContext>
+
+</beans>

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties?rev=810430&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties (added)
+++ camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties Wed Sep  2 09:15:27 2009
@@ -0,0 +1,30 @@
+## ------------------------------------------------------------------------
+## 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 for eclipse testing, We want to see INFO output on the console.
+#
+log4j.rootLogger=INFO, out
+
+#
+# uncomment the following line to enable debugging of Camel
+#
+#log4j.logger.org.apache.camel=DEBUG
+
+log4j.appender.out=org.apache.log4j.ConsoleAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: camel/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/pom.xml?rev=810430&r1=810429&r2=810430&view=diff
==============================================================================
--- camel/trunk/examples/pom.xml (original)
+++ camel/trunk/examples/pom.xml Wed Sep  2 09:15:27 2009
@@ -56,6 +56,7 @@
     <module>camel-example-guice-jms</module>
     <module>camel-example-jms-file</module>
     <module>camel-example-loan-broker</module>
+    <module>camel-example-management</module>
     <module>camel-example-osgi</module>
     <module>camel-example-pojo-messaging</module>
     <module>camel-example-reportincident</module>

Modified: camel/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=810430&r1=810429&r2=810430&view=diff
==============================================================================
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Wed Sep  2 09:15:27 2009
@@ -426,6 +426,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-example-management</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-example-jms-file</artifactId>
         <version>${project.version}</version>
       </dependency>