You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/05/13 13:58:34 UTC

[camel-examples] branch master updated: Camel-example-management: Fixed example and use camel-spring-main

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new ba8afb1  Camel-example-management: Fixed example and use camel-spring-main
ba8afb1 is described below

commit ba8afb16467b4c1513966f000f0c0f15f3fcd914
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 13 15:58:08 2020 +0200

    Camel-example-management: Fixed example and use camel-spring-main
---
 examples/camel-example-management/pom.xml                               | 2 +-
 .../src/main/resources/META-INF/spring/camel-context.xml                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/camel-example-management/pom.xml b/examples/camel-example-management/pom.xml
index 206bcbe..90e4f25 100644
--- a/examples/camel-example-management/pom.xml
+++ b/examples/camel-example-management/pom.xml
@@ -66,7 +66,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
-            <artifactId>camel-spring</artifactId>
+            <artifactId>camel-spring-main</artifactId>
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml b/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
index b8ac199..9d9ad6a 100644
--- a/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
+++ b/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml
@@ -31,7 +31,7 @@
   <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring" depends-on="broker">
     <!-- Default JMX connector url: "service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel" -->
     <!-- lets include extended information -->
-    <jmxAgent id="agent" createConnector="true" loadStatisticsEnabled="true" statisticsLevel="Extended"/>
+    <jmxAgent id="agent" loadStatisticsEnabled="true" statisticsLevel="Extended"/>
 
     <route>
       <description>Route that creates input files</description>