You need to add the camel bom

See this example
https://github.com/apache/camel/blob/master/examples/camel-example-spring-boot-starter/pom.xml

On Tue, Mar 29, 2016 at 2:19 AM, zpyoung <[email protected]> wrote:
> For some reason when I use the following pom.xml configuration I'm getting
> the following version displaying in the console.   Why is 2.15.4 displaying
> when I'm trying to use 2.17.0.
>
> 2016-03-28 19:09:06.452  INFO 14516 --- [           main]
> o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase
> 2147483647
> 2016-03-28 19:09:06.469  INFO 14516 --- [           main]
> o.a.camel.spring.boot.RoutesCollector    : Loading additional Camel XML
> routes from: classpath:camel/*.xml
> 2016-03-28 19:09:06.470  INFO 14516 --- [           main]
> o.a.camel.spring.boot.RoutesCollector    : Loading additional Camel XML
> rests from: classpath:camel-rest/*.xml
> 2016-03-28 19:09:06.471  INFO 14516 --- [           main]
> o.a.camel.spring.SpringCamelContext      : Apache Camel 2.15.4
> (CamelContext: docker-camel-retry) is starting
> 2016-03-28 19:09:06.473  INFO 14516 --- [           main]
> o.a.c.m.ManagedManagementStrategy        : JMX is enabled
> 2016-03-28 19:09:06.635  INFO 14516 --- [           main]
> o.a.camel.spring.SpringCamelContext      : AllowUseOriginalMessage is
> enabled. If access to the original message is not needed, then its
> recommended to turn this option off as it may improve performance.
> 2016-03-28 19:09:06.635  INFO 14516 --- [           main]
> o.a.camel.spring.SpringCamelContext      : StreamCaching is not in use. If
> using streams then its recommended to enable stream caching. See more
> details at http://camel.apache.org/stream-caching.html
> 2016-03-28 19:09:06.636  INFO 14516 --- [           main]
> o.a.camel.spring.SpringCamelContext      : Total 0 routes, of which 0 is
> started.
> 2016-03-28 19:09:06.638  INFO 14516 --- [           main]
> o.a.camel.spring.SpringCamelContext      : Apache Camel 2.15.4
> (CamelContext: docker-camel-retry) started in 0.166 seconds
>
> pom.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <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/xsd/maven-4.0.0.xsd";>
>     <modelVersion>4.0.0</modelVersion>
>
>     <groupId>com.zandroid</groupId>
>     <artifactId>dockercamelretry</artifactId>
>     <version>0.0.1-SNAPSHOT</version>
>     <packaging>jar</packaging>
>
>     <name>docker-camel-retry</name>
>     <description>Demo project for Spring Boot</description>
>
>     <parent>
>         <groupId>org.springframework.boot</groupId>
>         <artifactId>spring-boot-starter-parent</artifactId>
>         <version>1.3.3.RELEASE</version>
>         <relativePath/>
>     </parent>
>
>     <properties>
>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>         <java.version>1.8</java.version>
>     </properties>
>
>     <dependencies>
>
>         <dependency>
>             <groupId>org.springframework.boot</groupId>
>             <artifactId>spring-boot-starter-web</artifactId>
>         </dependency>
>         <dependency>
>             <groupId>org.springframework.boot</groupId>
>             <artifactId>spring-boot-starter-actuator</artifactId>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.activemq</groupId>
>             <artifactId>activemq-camel</artifactId>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.camel</groupId>
>             <artifactId>camel-spring-boot-starter</artifactId>
>             <version>2.17.0</version>
>         </dependency>
>
>
>         <dependency>
>             <groupId>org.projectlombok</groupId>
>             <artifactId>lombok</artifactId>
>             <version>1.16.4</version>
>             <scope>provided</scope>
>         </dependency>
>
>         <dependency>
>             <groupId>org.springframework.boot</groupId>
>             <artifactId>spring-boot-starter-test</artifactId>
>             <scope>test</scope>
>         </dependency>
>     </dependencies>
>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.springframework.boot</groupId>
>                 <artifactId>spring-boot-maven-plugin</artifactId>
>             </plugin>
>         </plugins>
>     </build>
>
>
> </project>
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Spring-Boot-and-Camel-2-17-0-tp5779917.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to