Hi Yeah we should use the ones from Camel.
Though I wonder where the Spring annotations was moved? Are they now in a new JAR file in Spring 3.2 or where are they? camel-spring is still depend on these annotations in its support for these Spring annotations. On Tue, Nov 13, 2012 at 12:08 AM, Christian Müller <christian.muel...@gmail.com> wrote: > org.apache.camel.processor.idempotent.jdbc.AbstractJdbcMessageIdRepository > is using org.springframework.jmx.export.annotation.ManagedResource and > org.springframework.jmx.export.annotation.ManagedOperation. > Shouldn't it be org.apache.camel.api.management.ManagedResource and > org.apache.camel.api.management.ManagedOperation? > > Because of this, the build with Spring 3.2.0.RC1 (I created the profile > locally at present) is failing with the following error (I think because > the classes are removed or moved): > > INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 15:36.683s > [INFO] Finished at: Mon Nov 12 23:56:03 CET 2012 > [INFO] Final Memory: 262M/507M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project camel-sql: Compilation failure: Compilation > failure: > [ERROR] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 > [ERROR] > /Users/cmueller/workspaceCamel/camel/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/AbstractJdbcMessageIdRepository.java:[27,48] > package org.springframework.jmx.export.annotation does not exist > [ERROR] > /Users/cmueller/workspaceCamel/camel/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/AbstractJdbcMessageIdRepository.java:[28,48] > package org.springframework.jmx.export.annotation does not exist > [ERROR] > /Users/cmueller/workspaceCamel/camel/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/AbstractJdbcMessageIdRepository.java:[46,1] > cannot find symbol > [ERROR] symbol: class ManagedResource > [ERROR] @ManagedResource("JDBC IdempotentRepository") > [ERROR] > /Users/cmueller/workspaceCamel/camel/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/AbstractJdbcMessageIdRepository.java:[116,5] > cannot find symbol > [ERROR] symbol : class ManagedOperation > [ERROR] location: class > org.apache.camel.processor.idempotent.jdbc.AbstractJdbcMessageIdRepository<T> > [ERROR] > /Users/cmueller/workspaceCamel/camel/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/AbstractJdbcMessageIdRepository.java:[134,5] > cannot find symbol > [ERROR] symbol : class ManagedOperation > [ERROR] location: class > org.apache.camel.processor.idempotent.jdbc.AbstractJdbcMessageIdRepository<T> > [ERROR] > /Users/cmueller/workspaceCamel/camel/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/AbstractJdbcMessageIdRepository.java:[152,5] > cannot find symbol > [ERROR] symbol : class ManagedOperation > [ERROR] location: class > org.apache.camel.processor.idempotent.jdbc.AbstractJdbcMessageIdRepository<T> > > > Best, > Christian > > -- -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen