You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/08/28 17:59:00 UTC

[jira] [Resolved] (CAMEL-15479) Clear up purpose of spring-boot and camel-spring-boot-starter

     [ https://issues.apache.org/jira/browse/CAMEL-15479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-15479.
---------------------------------
    Fix Version/s: 3.5.0
         Assignee: Claus Ibsen
       Resolution: Fixed

Updated that doc page for Camel 3.5

> Clear up purpose of spring-boot and camel-spring-boot-starter
> -------------------------------------------------------------
>
>                 Key: CAMEL-15479
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15479
>             Project: Camel
>          Issue Type: Wish
>            Reporter: Franz J. Lanzendorfer
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 3.5.0
>
>
> Hey there,
> I'm in the process of piecing together a Camel application using learnings from your [Spring boot examples|https://github.com/apache/camel-spring-boot-examples]. I already have a demo application which simply leaves the CamelContext open via Thread.sleep, so my plan was to add the spring-boot dependencies and implement a proper Service. However, I'm currently unsure about the purpose of two dependencies: spring-boot vs. camel-spring-boot-starter.
> [The Camel documentation|https://camel.apache.org/camel-spring-boot/latest/spring-boot.html#SpringBoot-CamelSpringBootStarter]  regarding spring-boot only ever mentions including the camel-spring-boot-starter dependency, however all of the linked examples rely on a root project which uses the spring-boot project as its parent.
> This leads me to the following questions, which I hope you can clarify for me:
>  # What is the role of spring-boot vs. camel-spring-boot-starter?
>  # If I want to set up a Maven project using these components would I use spring-boot as the parent and include camel-spring-boot-starter as a dependency? (as well as all the other camel dependencies I'd need to get the project running of course)
>  # There often seem to be two versions of the "same" dependency: A default one and a "...-starter" one (e.g. camel-jackson and camel-jackson-starter). In a Camel-Spring-Boot application would I only ever use the '...-starter' variants, or do these serve a different purpose?
> I hope my questions are clear and you can clarify a few things for me. Thank you again for your help!
>  
> Kind Regards



--
This message was sent by Atlassian Jira
(v8.3.4#803005)