camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henryk Konsek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7963) Add Spring Boot support
Date Sat, 10 Jan 2015 21:13:34 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272695#comment-14272695
] 

Henryk Konsek commented on CAMEL-7963:
--------------------------------------

Hi Chris,

Currently Spring Boot Camel doesn't support Camel annotations like {{@EndpointInject}} or
{{@MockEndpoints}}. I decided not to add them in the first version of the camel-spring-boot
because Spring Boot test support is flexible enough to handle the majority of the test cases.
For example you can define your route using Spring property:

{code}
@Value("${from:jms:queue}")
String from;

from("{{from}}").to(...);
{code}

And then override it it Spring Boot test:

{code}
@IntegrationTest("from=mock:test")
{code}

Actually this approach is ever better because you can override part of the routes using system/environment
properties, which is extremely useful when working with the Dockerized Camel applications
for example.

However I agree that supporting Camel annotations is still a good idea. I will add this soon.

Cheers.

> Add Spring Boot support
> -----------------------
>
>                 Key: CAMEL-7963
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7963
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Henryk Konsek
>            Assignee: Henryk Konsek
>             Fix For: 2.15.0
>
>
> We need Spring Boot autoconfiguration for Camel. I created one under Fabric8 umbrella
(1), but I don't believe that is the proper place to keep and develop Camel integration, as
this is pure Camel stuff. We can just use Camel stuff in the Fabric8 instead.
> I will continue to develop Camel Spring Boot integration under Camel umbrella.
> (1) https://github.com/fabric8io/fabric8/tree/master/process/process-spring-boot/process-spring-boot-starter-camel



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message