You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/28 13:11:20 UTC
[jira] [Commented] (CAMEL-10194) camel-spring-boot - Bind
components and data format to the spring context so they are picked up
automatically
[ https://issues.apache.org/jira/browse/CAMEL-10194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397514#comment-15397514 ]
ASF GitHub Bot commented on CAMEL-10194:
----------------------------------------
GitHub user nicolaferraro opened a pull request:
https://github.com/apache/camel/pull/1090
CAMEL-10194 - Camel-Spring-Boot: Bind components and data format to the spring context so they are picked up automatically
I refactored the springboot camel-package plugin and ran it again to generate the new sources for spring-boot auto configuration.
Aliases are now written correctly even without manual intervention on the plugin.
I also fixed some style errors everywhere to make a full build.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nicolaferraro/camel CAMEL-10194-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1090.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1090
----
commit b20be061208ec139d637ed1ce0dfcd71189cc660
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T07:35:38Z
Changed names and aliases of the beans
commit 620c8388b204b8541f6d13bf17298950150a31ea
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T07:55:25Z
Added name to some components
commit 2ddf73418010f547129ca88bd2441e3d221badb3
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T07:59:03Z
Fixed name resolution and added new components
commit d94c6c56168389048f2e5e0136bb3982d9f25797
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T08:05:01Z
No more skipping components
commit 30314c289871bb516ed843039c879c7e5448d93d
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T08:07:11Z
Sorting aliases to always get the same result
commit 1e6b6572dba0c068fb5e4e87547a1b196e042099
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T08:37:20Z
Changed dataformats
commit 125c67b82e2774f3c5d6e6c3053a48fdce8c0c8f
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T11:23:07Z
Fixed style errors on multiple modules
commit 4d7f25f8206b6dd8dda2c3aa3cc14125475f65c7
Author: Nicola Ferraro <ni...@gmail.com>
Date: 2016-07-28T11:24:33Z
Generated classes in camel-core
----
> camel-spring-boot - Bind components and data format to the spring context so they are picked up automatically
> -------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-10194
> URL: https://issues.apache.org/jira/browse/CAMEL-10194
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-boot
> Reporter: Nicola Ferraro
> Assignee: Nicola Ferraro
>
> Change the spring-boot auto configuration to apply the new naming convention (CAMEL-10190) to components and data formats, so that Camel can pick them up automatically in routes.
> Components will be bound to the _'xxx-component'_ name in the spring context, while data formats will be bound to the _'xxx-dataformat'_ one.
> For components and data formats using aliases (eg. _'smtp'_, _'pop3'_, _'smtps'_ that are related to the _'mail'_ component) a unique bean will be put in the application context and it will have all the aliases (eg. _'smtp-component'_, _'pop3-component'_, _'smtps-component'_).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)